Commit 0e0dce3f authored by hezhen's avatar hezhen

123

parent daa00937
...@@ -205,7 +205,7 @@ public class AppPermissionService { ...@@ -205,7 +205,7 @@ public class AppPermissionService {
return JsonResultUtil.createDefaultFail(); return JsonResultUtil.createDefaultFail();
} }
try { try {
result.put("mobilecode", mobilecode); result.put("mobilecode", "");//mobilecode
String redisLockKey = RedisKey.CONSTANT_CODE_PREFIX + phone + mobilecode; String redisLockKey = RedisKey.CONSTANT_CODE_PREFIX + phone + mobilecode;
Boolean suc = userRedisTemplate.opsForValue().setIfAbsent(redisLockKey, mobilecode); Boolean suc = userRedisTemplate.opsForValue().setIfAbsent(redisLockKey, mobilecode);
if (suc) { if (suc) {
......
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