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

Commit 49a99d93 authored by GaoHu's avatar GaoHu

Merge remote-tracking branch 'origin/dev-smile' into dev-smile

parents d7dcf71b e07a9080
......@@ -115,6 +115,10 @@ public class SmileUserController {
if(null==smileUserVORedis){
smileUserVO.setTag("1");
}else{
if(null!=smileUserVO.getType()){
//说明已经验证过
return ResponseDto.failure("用户状态不对");
}
smileUserVO.setTag(smileUserVORedis.getTag().concat(",1"));
}
smileFrontService.saveOrUpdateUser(smileUserVO,smileUserVORedis,"1");
......@@ -139,6 +143,10 @@ public class SmileUserController {
if(null==smileUserVORedis){
smileUserVORedis.setTag("2");
}else{
if(null!=smileUserVO.getType()){
//说明已经验证过
return ResponseDto.failure("用户状态不对");
}
if(smileUserVORedis.getTag().contains("2")){
ResponseDto.success(null);
}else{
......@@ -187,6 +195,10 @@ public class SmileUserController {
if(null==smileUserVORedis){
smileUserVORedis.setTag("3");
}else{
if(null!=smileUserVO.getType()){
//说明已经验证过
return ResponseDto.failure("用户状态不对");
}
if(smileUserVORedis.getTag().contains("3")){
}else{
smileUserVO.setTag(smileUserVORedis.getTag().concat(",3"));
......
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