From 0d3db253cad1fb49c4fae9b9a537c8c318c7172f Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 29 十一月 2023 10:23:59 +0800 Subject: [PATCH] 优化应用中心卸载 --- src/api/baseLibrary.ts | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/api/baseLibrary.ts b/src/api/baseLibrary.ts index 4faf772..3beb2f1 100644 --- a/src/api/baseLibrary.ts +++ b/src/api/baseLibrary.ts @@ -37,7 +37,7 @@ export const addBase = (query: any) => { return request({ url: "/data/api-v/dbtable/addDbTableInfo", - method: "put", + method: "post", data: query }) } @@ -211,7 +211,7 @@ export const addBaseCar = (query: any) => { return request({ url: "/data/api-v/dbperson/addDbPerson", - method: "put", + method: "post", data: query }) } @@ -252,8 +252,16 @@ // 鍒犻櫎鍗曚釜浜哄憳 export const deleteDbPersonById = (query: any) => { return request({ - url: "/data/api-v/dbtable/deleteDbPersonById", + url: "/data/api-v/dbperson/deleteDbPersonById", method: "get", params: query }) } + +// 杞﹁締鐩稿叧鐨勫瓧鍏� +export const dicByType = () => { + return request({ + url: "/data/api-v/dbperson/dicByType", + method: "get" + }) +} -- Gitblit v1.8.0