feat: 添加检查是否为管理员的接口

This commit is contained in:
2026-05-09 10:30:31 +08:00
parent 45db7f75ca
commit 50a89b6fc1
5 changed files with 40 additions and 2 deletions

View File

@@ -2,6 +2,6 @@ package consts
const (
SuperAdminId = 1 // 超级管理员
SalesAgentId = 9 // 销售代理
SiteAdminId = 10 // 站点管理员
SalesAgentId = 9 // 租户代理管理员
SiteAdminId = 10 // 租户普通管理员
)