You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
879 B
55 lines
879 B
import request from '@/utils/request'
|
|
|
|
// ******店铺列表******
|
|
// 店铺管理查询
|
|
export function shopListGetAll(data) {
|
|
return request({
|
|
url: '/shop/getAll',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 新增店铺
|
|
export function shopListSave(data) {
|
|
return request({
|
|
url: '/shop/save',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 店铺编辑查询
|
|
export function shopListGetById(data) {
|
|
return request({
|
|
url: '/shop/getById',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 修改店铺
|
|
export function shopListUpdate(data) {
|
|
return request({
|
|
url: '/shop/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 启停用店铺
|
|
export function shopListStart(data) {
|
|
return request({
|
|
url: '/shop/start',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function delshopById(data) {
|
|
return request({
|
|
url: '/shop/cleanShop',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|