mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
feat: midway注解方式编写插件
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { AbstractAccess, IAccessService } from "../../src";
|
||||
import { IAccess, IAccessService } from "../../src";
|
||||
import { aliyunSecret } from "../user.secret";
|
||||
export class AccessServiceTest implements IAccessService {
|
||||
async getById(id: any): Promise<AbstractAccess> {
|
||||
async getById(id: any): Promise<IAccess> {
|
||||
return {
|
||||
...aliyunSecret,
|
||||
} as any;
|
||||
|
||||
Reference in New Issue
Block a user