This commit is contained in:
xiaojunnuo
2024-09-29 14:57:20 +08:00
parent 7ee9d915fb
commit 51f29d6093
9 changed files with 45 additions and 12 deletions
@@ -13,7 +13,7 @@ export class DnsProviderController extends BaseController {
service: DnsProviderService;
@Post('/list', { summary: Constants.per.authOnly })
async list(@Query(ALL) query:any) {
async list(@Query(ALL) query: any) {
query.userId = this.ctx.user.id;
const list = this.service.getList();
return this.ok(list);