mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
perf: 优化插件开发,dnsProvider无需写http logger 变量
This commit is contained in:
-6
@@ -1,5 +1,4 @@
|
||||
import { Autowire } from '@certd/pipeline';
|
||||
import { HttpClient, ILogger } from '@certd/basic';
|
||||
|
||||
import { AbstractDnsProvider, CreateRecordOptions, IsDnsProvider, RemoveRecordOptions } from '@certd/plugin-cert';
|
||||
import { TencentAccess } from '@certd/plugin-plus';
|
||||
@@ -11,13 +10,8 @@ import { TencentAccess } from '@certd/plugin-plus';
|
||||
accessType: 'tencent',
|
||||
})
|
||||
export class TencentDnsProvider extends AbstractDnsProvider {
|
||||
@Autowire()
|
||||
http!: HttpClient;
|
||||
|
||||
@Autowire()
|
||||
access!: TencentAccess;
|
||||
@Autowire()
|
||||
logger!: ILogger;
|
||||
|
||||
client!: any;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user