提交 b231009a 编写于 作者: zlt2000's avatar zlt2000

fix bug

上级 1d09602b
......@@ -15,7 +15,6 @@ zlt:
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.sharding.demo.model
global-config:
db-config:
......
......@@ -62,7 +62,7 @@ public class ValidateCodeServiceImpl implements IValidateCodeService {
}
SysUser user = userService.findByMobile(mobile);
if (user != null) {
if (user == null) {
log.error("根据用户手机号{}查询用户为空", mobile);
return Result.failed("手机号不存在");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册