记得上下班打卡 | git大法好,push需谨慎

Commit a7b24608 authored by zhengfuxin's avatar zhengfuxin

修改bug

parent b1c86aae
...@@ -99,9 +99,11 @@ public class SmileUserController { ...@@ -99,9 +99,11 @@ public class SmileUserController {
String userId = CurrentUtil.getCurrentUid(); String userId = CurrentUtil.getCurrentUid();
SmileUserVO smileUserVORedis= smileRedisUtils.getSmileUserVo(userId); SmileUserVO smileUserVORedis= smileRedisUtils.getSmileUserVo(userId);
if(null!=smileUserVORedis){ if(null!=smileUserVORedis){
if(smileUserVORedis.getAuthStatus()==1&&null!=smileUserVORedis.getType()&&(smileUserVORedis.getType()==1||smileUserVORedis.getType()==2)){ if(null!=smileUserVORedis.getType()&&(smileUserVORedis.getType()==1||smileUserVORedis.getType()==2)){
return ResponseDto.success(true); return ResponseDto.success(true);
} else{ }else if(smileUserVORedis.getAuthStatus()==1){
return ResponseDto.success(true);
}else{
if(!(smileUserVORedis.getTag().contains("1")&&smileUserVORedis.getTag().contains("2")&&smileUserVORedis.getTag().contains("3"))){ if(!(smileUserVORedis.getTag().contains("1")&&smileUserVORedis.getTag().contains("2")&&smileUserVORedis.getTag().contains("3"))){
return ResponseDto.failure("用户信息不全,请填写后提交认证"); return ResponseDto.failure("用户信息不全,请填写后提交认证");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment