bonus-ui/src/api/superStore/super.js

84 lines
1.6 KiB
JavaScript
Raw Normal View History

2025-03-18 10:51:38 +08:00
import request from '@/utils/request'
// 仓库
export function drpWareHousePageApi(data) {
return request({
url: '/smart-canteen/api/v1/drpwarehouse/page',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
// 超市列表
export function supermarketPageListApi(data) {
return request({
url: '/smart-canteen/api/v1/basics-supermarket/page-supermarket',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
// 超市列表-新增
export function insertSupermarketApi(data) {
return request({
url: '/smart-canteen/api/v1/basics-supermarket/insert-supermarket',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
// 超市列表-编辑
export function editSupermarketApi(data) {
return request({
url: '/smart-canteen/api/v1/basics-supermarket/edit-supermarket',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
// 超市列表-删除
export function deleteSupermarketApi(data) {
return request({
url: '/smart-canteen/api/v1/basics-supermarket/delete-supermarket',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}
//
export function mgruserListByRoleApi(data) {
return request({
url: '/smart-canteen/api/v1/mgruser/list/by/role',
method: 'post',
headers: {
"merchant-id":"378915229716713472",
},
data: data
})
}