This commit is contained in:
mashuai 2024-07-02 19:04:52 +08:00
parent ccd4e80ba0
commit 9d15f5a267
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class TokenController {
}
//获取查询的用户手机号
String phone = user.getSysUser().getPhonenumber();
if ("adminBns".equals(form.getUsername())) {
if ("admin".equals(form.getUsername())) {
if (!StringUtils.isNotBlank(phone)) {
throw new ServiceException("手机号为空,请联系管理员!");
}