|
@@ -44,7 +44,7 @@ public class UserAuthServiceImpl implements UserAuthService {
|
|
public Result<UserInfo> login(LoginInfo loginInfo) throws Exception {
|
|
public Result<UserInfo> login(LoginInfo loginInfo) throws Exception {
|
|
Assert.notNull(loginInfo, "LoginInfo must be not null.");
|
|
Assert.notNull(loginInfo, "LoginInfo must be not null.");
|
|
if (StringUtils.isBlank(loginInfo.getAccountType())) {
|
|
if (StringUtils.isBlank(loginInfo.getAccountType())) {
|
|
- loginInfo.setAccountType(LoginType.STUDENT_PHONE.name());
|
|
|
|
|
|
+ loginInfo.setAccountType(LoginType.COMMON_LOGIN_NAME.name());
|
|
}
|
|
}
|
|
//封装请求参数
|
|
//封装请求参数
|
|
final String requestUrl = String.format("%s/api/ecs_core/auth/login", propertyService.getUserAuthUrl());
|
|
final String requestUrl = String.format("%s/api/ecs_core/auth/login", propertyService.getUserAuthUrl());
|