chore: project finished

This commit is contained in:
xiaojunnuo
2026-03-03 23:31:42 +08:00
parent a853fc2026
commit 6c546b5290
17 changed files with 87 additions and 29 deletions

View File

@@ -69,10 +69,8 @@ export abstract class BaseController {
if (!projectIdStr){
projectIdStr = this.ctx.request.query["projectId"] as string;
}
if (!projectIdStr){
return null
}
if (!projectIdStr) {
//这里必须抛异常,否则可能会有权限问题
throw new Error("projectId 不能为空")
}
const userId = this.getUserId()