mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
chore: project userid fixed -1
This commit is contained in:
@@ -83,7 +83,7 @@ export abstract class BaseController {
|
||||
let userId = this.getUserId()
|
||||
const projectId = await this.getProjectId(permission)
|
||||
if(projectId){
|
||||
userId = 0
|
||||
userId = -1 // 企业管理模式下,用户id固定-1
|
||||
}
|
||||
return {
|
||||
projectId,userId
|
||||
|
||||
Reference in New Issue
Block a user