|
@@ -147,7 +147,7 @@ public class AppService {
|
|
}
|
|
}
|
|
Long userId = commonCheckCamera(param);
|
|
Long userId = commonCheckCamera(param);
|
|
if(userId == null){
|
|
if(userId == null){
|
|
- throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
|
|
|
|
|
|
+ throw new BusinessException(LoginConstant.FAILURE_CODE_3037, LoginConstant.FAILURE_MSG_3037);
|
|
}
|
|
}
|
|
String redisValue = "";
|
|
String redisValue = "";
|
|
User user = userService.getById(userId);
|
|
User user = userService.getById(userId);
|
|
@@ -156,7 +156,7 @@ public class AppService {
|
|
}
|
|
}
|
|
redisValue = JSONObject.toJSONString(user);
|
|
redisValue = JSONObject.toJSONString(user);
|
|
if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
|
|
if(!stripeService.checkUserStripePay(user.getId(),user.getUserName())){
|
|
- throw new BusinessException(LoginConstant.FAILURE_CODE_3016, LoginConstant.FAILURE_MSG_3016);
|
|
|
|
|
|
+ throw new BusinessException(LoginConstant.FAILURE_CODE_3037, LoginConstant.FAILURE_MSG_3037);
|
|
}
|
|
}
|
|
String token = redisLogin(param.getAppUserName(),redisValue, 604800L);
|
|
String token = redisLogin(param.getAppUserName(),redisValue, 604800L);
|
|
JSONObject obj = new JSONObject();
|
|
JSONObject obj = new JSONObject();
|