短信登录由手机号登录改为用户名登录

This commit is contained in:
wanggeng 2022-11-11 16:21:46 +08:00
parent 8acc5d5529
commit 55e5a56159

View File

@ -72,7 +72,7 @@ public class AppSignServiceImpl extends BaseAppSignService implements IAppSignSe
@Override
public String phoneSign(AppLoginPhoneVO appLoginPhoneVO) throws Exception {
UserPO userPO = userService.getPOByPhone(appLoginPhoneVO.getUsername());
UserPO userPO = userService.getPOByUsername(appLoginPhoneVO.getUsername());
if (userPO == null) {
throw new SearchException("用户不存在");
}