mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: auto
This commit is contained in:
@@ -101,4 +101,10 @@ export class AccessController extends CrudController<AccessService> {
|
||||
const res = await this.service.getSimpleInfo(id);
|
||||
return this.ok(res);
|
||||
}
|
||||
|
||||
@Post('/getDictByIds', { summary: Constants.per.authOnly })
|
||||
async getDictByIds(@Body('ids') ids: number[]) {
|
||||
const res = await this.service.getSimpleByIds(ids, this.getUserId());
|
||||
return this.ok(res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user