mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 09:09:19 +08:00
refactor(org): 迁移账户模块至 company/account,重构公司拥有者创建账户逻辑并统一拥有者文案与注释
This commit is contained in:
@@ -67,9 +67,9 @@ public class PermissionUtils implements ApplicationContextAware {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查当前用户是否是公司管理员
|
||||
* 检查当前用户是否是公司拥有者
|
||||
*
|
||||
* @return 是否是公司管理员
|
||||
* @return 是否是公司拥有者
|
||||
*/
|
||||
public static boolean isCompany() {
|
||||
return hasRole("company");
|
||||
|
||||
Reference in New Issue
Block a user