mirror of
https://github.com/certd/certd.git
synced 2026-07-29 08:37:36 +08:00
fix(aliyun): 修复阿里云CDN/DCDN根据证书自动匹配不到证书的bug
This commit is contained in:
@@ -254,13 +254,16 @@ export class DeployCertToAliyunCDN extends AbstractTaskPlugin {
|
||||
const client = await this.getClient(access);
|
||||
|
||||
const pager = new Pager(data);
|
||||
const params = {
|
||||
DomainName: data.searchKey,
|
||||
const params: any = {
|
||||
PageSize: pager.pageSize || 100,
|
||||
PageNumber: pager.pageNo || 1,
|
||||
DomainSearchType: "fuzzy_match",
|
||||
};
|
||||
|
||||
if (data.searchKey) {
|
||||
params.DomainName = data.searchKey;
|
||||
}
|
||||
|
||||
const requestOption = {
|
||||
method: "POST",
|
||||
formatParams: false,
|
||||
|
||||
Reference in New Issue
Block a user