|
|
@@ -167,7 +167,12 @@ public class GEServiceImpl implements GEService {
|
|
|
//接口返回
|
|
|
HttpResultResponse resultResponse = null;
|
|
|
try{
|
|
|
- resultResponse = HuToolUtils.post(asnUrl,dto);
|
|
|
+ //resultResponse = HuToolUtils.post(asnUrl,dto);
|
|
|
+ //头部请求参数
|
|
|
+ Map<String,String> headerMap = null;
|
|
|
+ headerMap.put("user","WD");
|
|
|
+ headerMap.put("password","WD@test+1");
|
|
|
+ resultResponse = HuToolUtils.post(asnUrl,dto,headerMap);
|
|
|
logger.info("推送发货信息到歌尔,接口返回结果:{}",resultResponse);
|
|
|
}catch (Exception e){
|
|
|
logger.error("推送发货信息到歌尔,调用接口异常:{}",e);
|