|
@@ -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());
|