mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
perf: 站点IP监控前先同步一下IP
This commit is contained in:
@@ -96,7 +96,7 @@ export class SiteInfoController extends CrudController<SiteIpService> {
|
||||
const userId = this.getUserId();
|
||||
await this.siteInfoService.checkUserId(siteId, userId);
|
||||
const siteEntity = await this.siteInfoService.info(siteId);
|
||||
await this.service.checkAll(siteEntity);
|
||||
await this.service.syncAndCheck(siteEntity);
|
||||
return this.ok();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user