短信登录由手机号登录改为用户名登录
This commit is contained in:
parent
8acc5d5529
commit
55e5a56159
@ -72,7 +72,7 @@ public class AppSignServiceImpl extends BaseAppSignService implements IAppSignSe
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String phoneSign(AppLoginPhoneVO appLoginPhoneVO) throws Exception {
|
public String phoneSign(AppLoginPhoneVO appLoginPhoneVO) throws Exception {
|
||||||
UserPO userPO = userService.getPOByPhone(appLoginPhoneVO.getUsername());
|
UserPO userPO = userService.getPOByUsername(appLoginPhoneVO.getUsername());
|
||||||
if (userPO == null) {
|
if (userPO == null) {
|
||||||
throw new SearchException("用户不存在");
|
throw new SearchException("用户不存在");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user