feat: 🚀 仓库关系
This commit is contained in:
27
src/api/modules/setWarehouse.ts
Normal file
27
src/api/modules/setWarehouse.ts
Normal 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);
|
||||
// };
|
||||
Reference in New Issue
Block a user