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

@ -367,7 +367,7 @@ public class DsMessageServiceImpl implements DsMessageService {
skuRefundInfosItem.setAddress(address);
skuRefundInfosItem.setCloseReason("");
skuRefundInfosItem.setOperationType(getOperateType(refundInfo));
skuRefundInfosItem.setAftersaleType((long) getAftersaleType(refundInfo));
skuRefundInfosItem.setAftersaleType(getAftersaleType(refundInfo));
return skuRefundInfosItem;
}

@ -88,12 +88,6 @@ public class RefreshTokenTaskService extends TaskBaseService {
List<Shop> shops = (List<Shop>) params;
for (int i=0; i < shops.size(); i++) {
Shop shop = shops.get(i);
Long shopId = shop.getShopId();
// 不理解
// $failCnt = $this->redis->hGet($redisKey, $shopId);
// if ($failCnt > 5) {
// continue;
// }
String oldAccessToken = SecurityTool.decodeByAES(shop.getAccessToken());
String oldRefreshToken = SecurityTool.decodeByAES(shop.getRefreshToken());
TokenRefreshRequest request = new TokenRefreshRequest();
@ -117,7 +111,7 @@ public class RefreshTokenTaskService extends TaskBaseService {
shop.setAccessToken(SecurityTool.encodeByAES(newAccessToken));
log.info("oldAccessToken:"+oldAccessToken);
log.info("newAccessToken"+newAccessToken);
shop.setGmtExpire(DateUtil.parseDateTime(TimeTool.getDateTimeBySeconds(new Long(newExpires).intValue())));
shop.setGmtExpire(DateUtil.parseDateTime(TimeTool.getDateTimeBySeconds(newExpires.intValue())));
shop.setGmtModified(DateUtil.parseDateTime(TimeTool.getDateTimeBySeconds(0)));
shopService.updateByPrimaryKey(shop);
}

@ -189,27 +189,27 @@ public class Test {
}
}
@PostMapping("/getAuthInfo")
@RequestMapping("/getAuthInfo")
public String getAuthInfo() { // 30459766L
GetAuthInfoResponseDTO responseDTO = dsApiService.getAuthInfo(1111502210L);
System.out.println(responseDTO);
return "";
}
@PostMapping("/getAuthShopMemberInfos")
@RequestMapping("/getAuthShopMemberInfos")
public String getAuthShopMemberInfos() {
GetAuthShopMemberInfosResponseDTO responseDTO = dsApiService.getAuthShopMemberInfos(1111502210L);
System.out.println(responseDTO);
return "";
}
@PostMapping("/checkDsAppAuthExpire")
@RequestMapping("/checkDsAppAuthExpire")
public String checkDsAppAuthExpire() {
CheckDsAppAuthExpireResponseDTO responseDTO = dsApiService.checkDsAppAuthExpire(16412356L, "", "");
CheckDsAppAuthExpireResponseDTO responseDTO = dsApiService.checkDsAppAuthExpire(1111502210L, "", "");
System.out.println(responseDTO);
return "";
}
@PostMapping("/getProductDetail")
@RequestMapping("/getProductDetail")
public String getProductDetail() {
AuthThreadLocalUtil.set("4463798");
SupplyCenterCargoDetailParam supplyCenterCargoDetailParam = new SupplyCenterCargoDetailParam();
@ -219,7 +219,7 @@ public class Test {
return "";
}
@PostMapping("/getSourceItemInfos")
@RequestMapping("/getSourceItemInfos")
public String getSourceItemInfos() {
GetSourceItemInfosResponseDTO responseDTO = dsApiService.getSourceItemInfos(30459766L, Collections.singletonList("601601136855"));
System.out.println(responseDTO);

Loading…
Cancel
Save