tangxiangan 1 週間 前
コミット
24b898ddc9

+ 1 - 1
pdf-office-payment/src/main/java/cn/kdan/cloud/pdf/office/payment/service/impl/AppStoreServiceImpl.java

@@ -87,7 +87,7 @@ public class AppStoreServiceImpl implements AppStoreService {
             result.setDigestPassword(null);
             result.setDigestPassword(null);
             return result;
             return result;
         }
         }
-        log.info("appStore 权益校验,用户id:{}",equityVerificationDTO.getUserId());
+        log.info("appStore 权益校验,用户id:{},请求体:{}",equityVerificationDTO.getUserId(),equityVerificationDTO);
         AppTransaction appTransaction = this.appStoreReceiptVerify(equityVerificationDTO.getTransactionId(),equityVerificationDTO.getApplePayProductId(),equityVerificationDTO.getAppBundleId());
         AppTransaction appTransaction = this.appStoreReceiptVerify(equityVerificationDTO.getTransactionId(),equityVerificationDTO.getApplePayProductId(),equityVerificationDTO.getAppBundleId());
         // 获取票据订单信息
         // 获取票据订单信息
         String transactionId = appTransaction.getTransactionId();
         String transactionId = appTransaction.getTransactionId();

+ 2 - 1
pdf-office-sso/src/main/java/cn/kdan/cloud/pdf/office/sso/service/impl/AuthServiceImpl.java

@@ -274,7 +274,8 @@ public class AuthServiceImpl implements AuthService {
         // 过滤掉isAi为true的记录
         // 过滤掉isAi为true的记录
         List<UserSubscriptionInfoVO> filteredList = subscriptionInfoList.stream()
         List<UserSubscriptionInfoVO> filteredList = subscriptionInfoList.stream()
                 .filter(info -> info.getStatus() == 1 // 筛选出 status = 1 的记录
                 .filter(info -> info.getStatus() == 1 // 筛选出 status = 1 的记录
-                        && info.getPaymentModel().equals("1")) // 筛选出 paymentModel = 1 的记录
+                        && info.getPaymentModel().equals("1")
+                &&ObjectUtils.isEmpty(info.getIsAi())||ValidStatusEnum.INVALID.value().equals(info.getIsAi())) // 筛选出 paymentModel = 1 的记录
                 .collect(Collectors.toList());
                 .collect(Collectors.toList());
         if (CollectionUtils.isEmpty(filteredList)){
         if (CollectionUtils.isEmpty(filteredList)){
             return false;
             return false;