perf: 支持cdnfly

This commit is contained in:
xiaojunnuo
2024-09-02 16:59:49 +08:00
parent b2d595e85c
commit 724a85028b
4 changed files with 5 additions and 4 deletions
@@ -17,7 +17,7 @@ export abstract class BaseService<T> {
async transaction(callback: (entityManager: EntityManager) => Promise<any>) {
const dataSource = this.dataSourceManager.getDataSource('default');
await dataSource.transaction(callback);
await dataSource.transaction(callback as any);
}
/**
@@ -11,7 +11,7 @@ export class AliyunAccess {
component: {
placeholder: 'accessKeyId',
},
helper: '注意:证书申请,需要dns解析权限;其他阿里云插件,也需要对应的权限,比如证书上传需要证书管理权限',
helper: '登录阿里云控制台->AccessKey管理页面获取。',
required: true,
})
accessKeyId = '';
@@ -22,6 +22,7 @@ export class AliyunAccess {
},
required: true,
encrypt: true,
helper: '注意:证书申请需要dns解析权限;其他阿里云插件,需要对应的权限,比如证书上传需要证书管理权限;嫌麻烦就用主账号的全量权限的accessKey',
})
accessKeySecret = '';
}