mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
chore: swagger support
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user