mirror of
https://github.com/certd/certd.git
synced 2026-07-15 02:07:38 +08:00
chore: format
This commit is contained in:
@@ -50,7 +50,6 @@ export class LuckyAccess extends BaseAccess {
|
||||
})
|
||||
openToken = "";
|
||||
|
||||
|
||||
@AccessInput({
|
||||
title: "测试",
|
||||
component: {
|
||||
@@ -66,7 +65,6 @@ export class LuckyAccess extends BaseAccess {
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
||||
async doRequest(req: { urlPath: string; data: any; method?: string }) {
|
||||
const { urlPath, data, method } = req;
|
||||
let url = `${this.url}/${this.safePath || ""}${urlPath}?_=${Math.floor(new Date().getTime())}`;
|
||||
@@ -103,7 +101,7 @@ export class LuckyAccess extends BaseAccess {
|
||||
method: "GET",
|
||||
});
|
||||
const list = res.list || [];
|
||||
return list
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user