|
|
|
@ -142,14 +142,14 @@ public class DDApi {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static <T, R> T execute(DoudianOpRequest<R> request) {
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-USE-BOE", "1");
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("Origin-From", "djt_prod");
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-TT-ENV", "boe_supply_center");
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-USE-BOE", "1");
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("Origin-From", "djt_prod");
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-TT-ENV", "boe_supply_center");
|
|
|
|
|
|
|
|
|
|
// SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-USE-PPE", "1");
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("Origin-From", "djt_ppe_" + format.format(new Date()));
|
|
|
|
|
// GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-TT-ENV", "ppe_supply_center");
|
|
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-USE-PPE", "1");
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("Origin-From", "djt_ppe_" + format.format(new Date()));
|
|
|
|
|
GlobalConfig.getGlobalConfig().addHttpRequestHeader("X-TT-ENV", "ppe_supply_center");
|
|
|
|
|
|
|
|
|
|
log.info("DdParam:{}", JSONObject.toJSONString(request.getParam()));
|
|
|
|
|
log.info("DdRequest:{}", JSONObject.toJSONString(request));
|
|
|
|
|