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

Commit fef3d496 authored by zhengfuxin's avatar zhengfuxin

修改bug

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