20240115-ljl-multiPay
ljl 1 year ago
parent 737aaac648
commit dd5e82305a

@ -6,4 +6,8 @@ import lombok.Data;
public class GetAuthInfoResponseDTO extends CommonResponseDTO { public class GetAuthInfoResponseDTO extends CommonResponseDTO {
private String authCode; private String authCode;
private String memberName; private String memberName;
private String version;
private String authStatus;
private String authStatusText;
private String memberAuthUrl;
} }

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

@ -22,12 +22,12 @@ mybatis.mapper-locations=classpath*:mapper/*.xml
mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
mybatis.configuration.map-underscore-to-camel-case=true mybatis.configuration.map-underscore-to-camel-case=true
#cloud.app.key=7290512081592305208 cloud.app.key=7290512081592305208
#cloud.app.secret=d21bf43e-c671-4fa5-b35a-762a9c775129 cloud.app.secret=d21bf43e-c671-4fa5-b35a-762a9c775129
# boe # boe
cloud.app.key=7296606199200499244 #cloud.app.key=7296606199200499244
cloud.app.secret=0063975e-7755-4d51-8255-ad163604456f #cloud.app.secret=0063975e-7755-4d51-8255-ad163604456f
#spring.redis.host=r-2zext1mz5bw1hsochrpd.redis.rds.aliyuncs.com #spring.redis.host=r-2zext1mz5bw1hsochrpd.redis.rds.aliyuncs.com
#spring.redis.port=6379 #spring.redis.port=6379

@ -191,7 +191,7 @@ public class Test {
@RequestMapping("/getAuthInfo") @RequestMapping("/getAuthInfo")
public String getAuthInfo() { // 30459766L public String getAuthInfo() { // 30459766L
GetAuthInfoResponseDTO responseDTO = dsApiService.getAuthInfo(1111502210L); GetAuthInfoResponseDTO responseDTO = dsApiService.getAuthInfo(16700961L);
System.out.println(responseDTO); System.out.println(responseDTO);
return ""; return "";
} }

Loading…
Cancel
Save