lyhzzz 1 年之前
父節點
當前提交
26b83e6f75
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/java/com/fdkankan/ucenter/service/impl/AppService.java

+ 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);
     }