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

Commit fef3d496 authored by zhengfuxin's avatar zhengfuxin

修改bug

parent 6e29c65e
...@@ -34,7 +34,7 @@ public final class RedisUtil extends AbstractRedisUtil{ ...@@ -34,7 +34,7 @@ public final class RedisUtil extends AbstractRedisUtil{
public static void main(String[] args) { public static void main(String[] args) {
String[] keys = { String[] keys = {
"smile:user977700554171514889825666", "smile:user:validate",
}; };
for (String key : keys) { for (String key : keys) {
long value = key.hashCode(); long value = key.hashCode();
......
...@@ -162,10 +162,10 @@ public class SmileUserController { ...@@ -162,10 +162,10 @@ public class SmileUserController {
if (null == respJNode || !"0".equals(respErrorCode = String.valueOf(respJNode.get("error_code")))) { if (null == respJNode || !"0".equals(respErrorCode = String.valueOf(respJNode.get("error_code")))) {
log.info("###实名认证失败[{}]", respJNode); log.info("###实名认证失败[{}]", respJNode);
ErrorMapping.ErrorMessage errorMessage = ErrorMapping.get("10102"); ErrorMapping.ErrorMessage errorMessage = ErrorMapping.get("10102");
redisUtil.set(SmileRedisConst.SMILE_USER_VALIDATE.concat(realName+cardNo),1); redisUtil.set(SmileRedisConst.SMILE_USER_VALIDATE.concat(realName+cardNo),"1");
return false; return false;
} }
redisUtil.set(SmileRedisConst.SMILE_USER_VALIDATE.concat(realName+cardNo),2); redisUtil.set(SmileRedisConst.SMILE_USER_VALIDATE.concat(realName+cardNo),"2");
return true; return true;
} }
@PostMapping("saveOrUpdateUserThreeStep") @PostMapping("saveOrUpdateUserThreeStep")
......
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