mirror of
https://github.com/certd/certd.git
synced 2026-05-17 05:37:30 +08:00
refactor: plugins
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { IAccessService } from "../../src/access/access-service";
|
||||
import { AbstractAccess, HostAccess } from "../../src";
|
||||
import { aliyunSecret } from "../user.secret";
|
||||
export class AccessServiceTest implements IAccessService {
|
||||
async getById(id: any): Promise<AbstractAccess> {
|
||||
return {
|
||||
...aliyunSecret,
|
||||
} as HostAccess;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user