feat: 商品列表添加完成一半

This commit is contained in:
duan
2025-02-19 18:27:12 +08:00
parent 2a7e200015
commit dc5f664143
11 changed files with 547 additions and 228 deletions

View File

@@ -12,6 +12,14 @@ const AuthAPI = {
params,
});
},
// 列表
getList(params: any) {
return request<any, Responseres>({
url: `${baseURL}/list`,
method: "get",
params,
});
},
// 单位新增
addunit(data: any) {
return request<any, Responseres>({

View File

@@ -41,7 +41,14 @@ const AuthAPI = {
method: "delete",
});
},
// 上下架
onOff(data: any) {
return request<any, Responseres>({
url: `${baseURL}/on-off`,
method: "post",
data,
});
},
};