mirror of
https://github.com/certd/certd.git
synced 2026-07-28 15:47:40 +08:00
chore: 修改权限判断字段从summary改成description
This commit is contained in:
@@ -31,7 +31,7 @@ export class SysStatisticController extends BaseController {
|
||||
@Inject()
|
||||
historyService: HistoryService;
|
||||
|
||||
@Post('/count', { summary: 'sys:settings:view' })
|
||||
@Post('/count', { description: 'sys:settings:view' })
|
||||
public async count() {
|
||||
const userCount = await this.userService.count();
|
||||
const userRegisterCountPerDay = await this.userService.registerCountPerDay({ days: 7 });
|
||||
|
||||
Reference in New Issue
Block a user