mirror of
https://github.com/certd/certd.git
synced 2026-07-08 05:37:34 +08:00
chore: project userid fixed -1
This commit is contained in:
@@ -40,7 +40,7 @@ export class SysProjectController extends CrudController<ProjectEntity> {
|
||||
bean.userId = this.getUserId();
|
||||
return super.add({
|
||||
...bean,
|
||||
userId:0,
|
||||
userId:-1, //企业用户id固定为-1
|
||||
adminId: bean.userId,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user