mirror of https://github.com/certd/certd
perf: 站点监控,手动测试也发通知
parent
a9fffa5180
commit
729b19c8da
|
@ -84,7 +84,7 @@ export class SiteInfoController extends CrudController<SiteInfoService> {
|
||||||
@Post('/check', { summary: Constants.per.authOnly })
|
@Post('/check', { summary: Constants.per.authOnly })
|
||||||
async check(@Body('id') id: number) {
|
async check(@Body('id') id: number) {
|
||||||
await this.service.checkUserId(id, this.getUserId());
|
await this.service.checkUserId(id, this.getUserId());
|
||||||
await this.service.check(id, false, 0);
|
await this.service.check(id, true, 0);
|
||||||
return this.ok();
|
return this.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ export class DeployCertToAliyunOSS extends AbstractTaskPlugin {
|
||||||
})
|
})
|
||||||
domainName!: string;
|
domainName!: string;
|
||||||
|
|
||||||
|
|
||||||
@TaskInput({
|
@TaskInput({
|
||||||
title: '证书名称',
|
title: '证书名称',
|
||||||
helper: '上传后将以此名称作为前缀备注',
|
helper: '上传后将以此名称作为前缀备注',
|
||||||
|
|
Loading…
Reference in New Issue