bug修改
This commit is contained in:
@@ -89,11 +89,11 @@ public class PlatformUpmsServiceFallback implements PlatformUpmsService {
|
||||
*/
|
||||
@Override
|
||||
public R<LoginUser> login(String mobile, String password) {
|
||||
if (isDebug()) {
|
||||
/* if (isDebug()) {
|
||||
log.warn("平台通用权限管理服务不可用,使用测试用户数据");
|
||||
return R.ok(LoginUser.builder().userId(1L).mobile("13588441519").userName("jiff")
|
||||
.orgId(1L).userType(LoginUser.USER_TYPE_PLATFORM).build());
|
||||
}
|
||||
}*/
|
||||
return upmsService.login(mobile, password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user