chore: swagger support

This commit is contained in:
xiaojunnuo
2026-03-15 14:01:34 +08:00
parent 8a3841f638
commit 684964da4f
40 changed files with 110 additions and 22 deletions

View File

@@ -116,7 +116,7 @@ export abstract class BaseController {
await authService.checkProjectId(service, id, projectId);
}else{
if(userId === 0){
if(userId === Constants.systemUserId){
//系统级别,不检查权限
}else{
if(allowAdmin){