diff --git a/accompany-admin/accompany-admin-service/src/main/java/com/accompany/admin/service/api/MyApiService.java b/accompany-admin/accompany-admin-service/src/main/java/com/accompany/admin/service/api/MyApiService.java index 274f208e4..72bbc3c91 100644 --- a/accompany-admin/accompany-admin-service/src/main/java/com/accompany/admin/service/api/MyApiService.java +++ b/accompany-admin/accompany-admin-service/src/main/java/com/accompany/admin/service/api/MyApiService.java @@ -400,7 +400,7 @@ public class MyApiService { } public void iosLookUpOrder() { - String orderId = "MVQZZH5K4Q"; + String orderId = "ML0GVBSH92"; ApplePublisher.Order order = ApplePublisher.lookUpOrderID(orderId, false); System.out.println(order); List payloads = order.decodePayload(order.getSignedTransactions(), -1, JWTTranscationInfoPayload.class); diff --git a/accompany-business/accompany-business-service/src/main/java/com/accompany/business/service/apple/IOSStoreKitV2Service.java b/accompany-business/accompany-business-service/src/main/java/com/accompany/business/service/apple/IOSStoreKitV2Service.java index 364ce460d..773a2c9be 100644 --- a/accompany-business/accompany-business-service/src/main/java/com/accompany/business/service/apple/IOSStoreKitV2Service.java +++ b/accompany-business/accompany-business-service/src/main/java/com/accompany/business/service/apple/IOSStoreKitV2Service.java @@ -119,13 +119,13 @@ public class IOSStoreKitV2Service { chargeRecordAppAccountToken, transcationInfo.getAppAccountToken()); throw new ServiceException(BusiStatus.PARAMETERILLEGAL); } - Date threeMinuteAgo = DateTimeUtil.addMinutes(new Date(), -3); + /*Date threeMinuteAgo = DateTimeUtil.addMinutes(new Date(), -3); if (threeMinuteAgo.after(transcationInfo.getPurchaseDate())){ log.error("[verifyOrder] 支付时间 不在三分钟前 purchaseDate {} threeMinuteAgo {}", DateTimeUtil.convertDate(transcationInfo.getPurchaseDate()), DateTimeUtil.convertDate(threeMinuteAgo)); throw new ServiceException(BusiStatus.PARAMETERILLEGAL); - } + }*/ } }