tangxiangan 1 Minggu lalu
induk
melakukan
76c2c4c9c8

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

@@ -157,7 +157,12 @@ public class SubscriptionsServiceImpl extends ServiceImpl<SubscriptionsMapper, S
         Integer platform = productVO.getPlatform();
         UpdateUserForOrderDTO successDTO = new UpdateUserForOrderDTO();
         successDTO.setUserId(subscription.getUserId());
-        successDTO.setPayTpe(PayTypeEnum.AUTO.value());
+        if(productVO.getPlatform()==1&&productVO.getAppId().equals("1")){
+            successDTO.setPayTpe(PayTypeEnum.NO_AUTO.value());
+        }else{
+            successDTO.setPayTpe(PayTypeEnum.AUTO.value());
+        }
+
         successDTO.setPlatform(platform);
         if(subscription.getSubscriptionType().equals(SubscriptionTypeEnum.TRAIL.value())){
             successDTO.setUserStatus(PDFOfficeUserSubscriptionStatusEnum.TRIAL.value());