微调
This commit is contained in:
@@ -136,4 +136,9 @@ public interface OssPath {
|
|||||||
*/
|
*/
|
||||||
String ONLINE_REPORT="onlineReport/";
|
String ONLINE_REPORT="onlineReport/";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系统上传文件至装置内,文件存储路径
|
||||||
|
*/
|
||||||
|
String SYSTEM_TO_DEV="systemToDev/";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -290,9 +290,11 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|||||||
//fixme 存在web用户和App用户,目前先通过管理员的登录名来区分开
|
//fixme 存在web用户和App用户,目前先通过管理员的登录名来区分开
|
||||||
} else if (Objects.equals(UserType.ADMINISTRATOR, type) && !Objects.equals(user.getLoginName(), "njcnyw")) {
|
} else if (Objects.equals(UserType.ADMINISTRATOR, type) && !Objects.equals(user.getLoginName(), "njcnyw")) {
|
||||||
type = UserType.USER;
|
type = UserType.USER;
|
||||||
} else if (Objects.equals(UserType.ADMINISTRATOR, type) && Objects.equals(user.getLoginName(), "njcnyw")) {
|
}
|
||||||
type = UserType.APP;
|
// else if (Objects.equals(UserType.ADMINISTRATOR, type) && Objects.equals(user.getLoginName(), "njcnyw")) {
|
||||||
} else if (Objects.equals(UserType.USER, type) || Objects.equals(UserType.APP, type)) {
|
// type = UserType.APP;
|
||||||
|
// }
|
||||||
|
else if (Objects.equals(UserType.USER, type) || Objects.equals(UserType.APP, type)) {
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
if (ObjectUtil.isNotNull(queryParam)) {
|
if (ObjectUtil.isNotNull(queryParam)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user