This commit is contained in:
zlt
2019-04-14 22:11:14 +08:00
parent 1d09602ba8
commit b231009a59
2 changed files with 1 additions and 2 deletions
@@ -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("手机号不存在");
}