rev:焊接线请求地址
This commit is contained in:
@@ -39,10 +39,10 @@ public class AcsToHJXServiceImpl implements AcsToHJXService {
|
|||||||
HttpResponse execute = null;
|
HttpResponse execute = null;
|
||||||
try {
|
try {
|
||||||
String wmsurl = jsonObject.getString("url");
|
String wmsurl = jsonObject.getString("url");
|
||||||
AddressDto addressDto = addressService.findByCode("actionRequest");
|
// AddressDto addressDto = addressService.findByCode("actionRequest");
|
||||||
String url = wmsurl + addressDto.getMethods_url();
|
// String url = wmsurl + addressDto.getMethods_url();
|
||||||
try {
|
try {
|
||||||
execute = HttpRequest.post(url)
|
execute = HttpRequest.post(wmsurl)
|
||||||
.header(Header.USER_AGENT, "Hutool http")
|
.header(Header.USER_AGENT, "Hutool http")
|
||||||
.header("Authorization", token)
|
.header("Authorization", token)
|
||||||
.body(String.valueOf(jsonObject))
|
.body(String.valueOf(jsonObject))
|
||||||
|
|||||||
Reference in New Issue
Block a user