chore: zindex

This commit is contained in:
xiaojunnuo
2026-01-25 23:08:42 +08:00
parent 40be42406c
commit 64a314c19e
4 changed files with 10 additions and 15 deletions

View File

@@ -82,11 +82,11 @@ export class DomainController extends CrudController<DomainService> {
@Post('/import/start', { summary: Constants.per.authOnly })
async importStart(@Body(ALL) body: any) {
checkPlus();
const { key } = body;
const req = {
key, userId: this.getUserId(),
}
checkPlus()
await this.service.startDomainImportTask(req);
return this.ok();
}
@@ -114,6 +114,7 @@ export class DomainController extends CrudController<DomainService> {
@Post('/import/save', { summary: Constants.per.authOnly })
async importSave(@Body(ALL) body: any) {
checkPlus();
const { dnsProviderType, dnsProviderAccessId, key } = body;
const req = {
userId: this.getUserId(),