lyhzzz 1 năm trước cách đây
mục cha
commit
26b83e6f75

+ 6 - 6
src/main/java/com/fdkankan/ucenter/service/impl/AppService.java

@@ -66,9 +66,9 @@ public class AppService {
         if(!user.getPassword().equals(passwordCode)){
             throw new BusinessException(LoginConstant.FAILURE_CODE_3014, LoginConstant.FAILURE_MSG_3014);
         }
-        if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
-            throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
-        }
+//        if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
+//            throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
+//        }
         String token = this.redisLogin(user.getUserName(), JSONObject.toJSONString(user),21800L);
         LoginVo loginVo = commonLogin(user, param, token);
         loginVo.getUser().setPassword(param.getPassword());
@@ -171,9 +171,9 @@ public class AppService {
         if(user == null){
             throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
         }
-        if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
-            throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
-        }
+//        if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
+//            throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
+//        }
         String token = redisLogin(param.getPhoneNum(), JSONObject.toJSONString(user),21600L);
         return commonLogin(user,param,token);
     }