1
This commit is contained in:
@@ -537,11 +537,11 @@ public class JDUtil {
|
|||||||
request.setPromotionCodeReq(promotionCodeReq);
|
request.setPromotionCodeReq(promotionCodeReq);
|
||||||
|
|
||||||
request.setVersion("1.0");
|
request.setVersion("1.0");
|
||||||
logger.info("transfer - request {}", JSON.toJSONString(request));
|
//logger.info("transfer - request {}", JSON.toJSONString(request));
|
||||||
UnionOpenPromotionBysubunionidGetResponse response;
|
UnionOpenPromotionBysubunionidGetResponse response;
|
||||||
try {
|
try {
|
||||||
response = client.execute(request);
|
response = client.execute(request);
|
||||||
logger.info("transfer - response {}", JSON.toJSONString(response));
|
//logger.info("transfer - response {}", JSON.toJSONString(response));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
@@ -1210,10 +1210,10 @@ public class JDUtil {
|
|||||||
Date date = new Date();
|
Date date = new Date();
|
||||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
request.setTimestamp(simpleDateFormat.format(date));
|
request.setTimestamp(simpleDateFormat.format(date));
|
||||||
logger.debug("getUnionOpenGoodsQueryRequest 查询商品信息请求:{}", JSON.toJSONString(request));
|
//logger.debug("getUnionOpenGoodsQueryRequest 查询商品信息请求:{}", JSON.toJSONString(request));
|
||||||
|
|
||||||
UnionOpenGoodsQueryResponse execute = client.execute(request);
|
UnionOpenGoodsQueryResponse execute = client.execute(request);
|
||||||
logger.debug("getUnionOpenGoodsQueryRequest 查询商品信息响应:{}", JSON.toJSONString(execute));
|
//logger.debug("getUnionOpenGoodsQueryRequest 查询商品信息响应:{}", JSON.toJSONString(execute));
|
||||||
return execute;
|
return execute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user