mirror of
https://github.com/certd/certd.git
synced 2026-07-08 13:47:36 +08:00
chore: 增加流水线,授权等文档
This commit is contained in:
@@ -14,13 +14,13 @@ export class DnsProviderController extends BaseController {
|
||||
@Inject()
|
||||
service: DnsProviderService;
|
||||
|
||||
@Post('/list', { description: Constants.per.authOnly })
|
||||
@Post('/list', { description: Constants.per.authOnly, summary: "查询DNS提供商列表" })
|
||||
async list(@Query(ALL) query: any) {
|
||||
const list = this.service.getList();
|
||||
return this.ok(list);
|
||||
}
|
||||
|
||||
@Post('/dnsProviderTypeDict', { description: Constants.per.authOnly })
|
||||
@Post('/dnsProviderTypeDict', { description: Constants.per.authOnly, summary: "查询DNS提供商类型字典" })
|
||||
async getDnsProviderTypeDict() {
|
||||
const list = this.service.getList();
|
||||
const dict = [];
|
||||
|
||||
Reference in New Issue
Block a user