mirror of
https://github.com/certd/certd.git
synced 2026-07-15 02:07:38 +08:00
perf: 支持全自动匹配部署宝塔网站证书
This commit is contained in:
@@ -35,7 +35,7 @@ export class AccessService extends BaseService<AccessEntity> {
|
||||
return res;
|
||||
}
|
||||
|
||||
async add(param) {
|
||||
async add(param: any): Promise<{ id: number; [key: string]: any }> {
|
||||
let oldEntity = null;
|
||||
if (param._copyFrom) {
|
||||
oldEntity = await this.info(param._copyFrom);
|
||||
|
||||
Reference in New Issue
Block a user