Commit 1d0aab13 by lixian7

绑定短信验证接口调整

parent df04d345
...@@ -237,7 +237,7 @@ public class BindServiceImpl extends ServiceImpl<BindInfoMapper, ParkBindInfo> i ...@@ -237,7 +237,7 @@ public class BindServiceImpl extends ServiceImpl<BindInfoMapper, ParkBindInfo> i
String bindInfoStr = redisTemplate.opsForValue().get(key); String bindInfoStr = redisTemplate.opsForValue().get(key);
if (StrUtil.isBlank(bindInfoStr)) { if (StrUtil.isBlank(bindInfoStr)) {
log.error("车辆绑定短信验证失败:未发起车辆绑定"); log.error("车辆绑定短信验证失败:未发起车辆绑定");
return ResultGenerator.fail(StatusCode.BUSINESS_ERROR.getCode(), "已超时"); return ResultGenerator.fail(StatusCode.BUSINESS_ERROR.getCode(), "绑定信息不正确");
} }
ParkBindInfo bindInfo = objectMapper.readValue(bindInfoStr, ParkBindInfo.class); ParkBindInfo bindInfo = objectMapper.readValue(bindInfoStr, ParkBindInfo.class);
......
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