feat: 🚀 仓库关系

This commit is contained in:
2025-11-07 09:46:06 +08:00
parent 1208835216
commit 107bd1a933
14 changed files with 604 additions and 97 deletions

View File

@@ -0,0 +1,27 @@
import http from "@/api";
//
export const getSetWarehouseListApi = (params: any) => {
return http.get<any>(`store`, params);
};
// getWarehouseUpApi,getWarehouseDetailsApi,getWarehouseUpApi
//删除
export const getWarehouseDelApi = (params: any) => {
return http.delete<any>(`warehouse/relationship/${params}`);
};
//新增 /admapi/warehouse/relationship
export const getWarehouseAddApi = (params: any) => {
return http.post<any>(`warehouse/relationship`, params);
};
//更新
export const getWarehouseUpApi = (id: any, params: any) => {
return http.post<any>(`warehouse/relationship/${id}`, params);
};
//详情
// export const getWarehouseDetailsApi = (id: any) => {
// return http.get<any>(`store/${id}`);
// };
// //导出
// export const getShopListExportApi = (params: any) => {
// return http.get<any>(`store/export`, params);
// };