mirror of https://github.com/certd/certd
fix: 修复阿里云fc获取不到列表的bug
parent
be87124ada
commit
474b3372d8
|
@ -64,6 +64,18 @@ export class AliyunDeployCertToFC extends AbstractPlusTaskPlugin {
|
||||||
})
|
})
|
||||||
regionId!: string;
|
regionId!: string;
|
||||||
|
|
||||||
|
|
||||||
|
@TaskInput({
|
||||||
|
title: '阿里云账号id',
|
||||||
|
helper: '阿里云主账号ID,右上角头像下方获取',
|
||||||
|
component: {
|
||||||
|
name: 'a-input',
|
||||||
|
vModel:"value"
|
||||||
|
},
|
||||||
|
required: true,
|
||||||
|
})
|
||||||
|
accountId!: string;
|
||||||
|
|
||||||
@TaskInput({
|
@TaskInput({
|
||||||
title: 'Access授权',
|
title: 'Access授权',
|
||||||
helper: '阿里云授权AccessKeyId、AccessKeySecret',
|
helper: '阿里云授权AccessKeyId、AccessKeySecret',
|
||||||
|
@ -157,7 +169,7 @@ export class AliyunDeployCertToFC extends AbstractPlusTaskPlugin {
|
||||||
accessKeySecret: access.accessKeySecret,
|
accessKeySecret: access.accessKeySecret,
|
||||||
});
|
});
|
||||||
// Endpoint 请参考 https://api.aliyun.com/product/FC
|
// Endpoint 请参考 https://api.aliyun.com/product/FC
|
||||||
config.endpoint = `1831228848739566.${this.regionId}.fc.aliyuncs.com`;
|
config.endpoint = `${this.accountId}.${this.regionId}.fc.aliyuncs.com`;
|
||||||
return new $OpenApi.default.default(config);
|
return new $OpenApi.default.default(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue