feat:优化应用端接口权限

master
tangfudong 2024-04-08 18:43:21 +08:00
parent 6c3cd91a36
commit c78d7cd96d
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@ public class SaPermissionImpl implements StpInterface {
if (userType == UserType.SYS_USER) {
return new ArrayList<>(loginUser.getMenuPermission());
} else if (userType == UserType.APP_USER) {
// 其他端 自行根据业务编写
List<String> perms = new ArrayList<>();
perms.add("*:*:*");
return perms;
}
return new ArrayList<>();
}