mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
perf: 优化宝塔网站部署插件远程获取数据的提示
This commit is contained in:
@@ -14,7 +14,7 @@ export type RequestHandleReq<T = any> = {
|
||||
input: T;
|
||||
};
|
||||
|
||||
export async function doRequest(req: RequestHandleReq, opts?: any = {}) {
|
||||
export async function doRequest(req: RequestHandleReq, opts: any = {}) {
|
||||
const url = req.type === "access" ? "/pi/handle/access" : "/pi/handle/plugin";
|
||||
const { typeName, action, data, input } = req;
|
||||
const res = await request({
|
||||
|
||||
Reference in New Issue
Block a user