44 lines
854 B
JavaScript
44 lines
854 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询店铺详细
|
|
export function ljStoreInfo() {
|
|
return request({
|
|
url: '/business/storeInformation/store',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 查询所有店铺信息
|
|
export function ljStoreList() {
|
|
return request({
|
|
url: '/business/storeInformation/store/list',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 根据连锁店id查询店铺信息
|
|
export function storesList() {
|
|
return request({
|
|
url: '/business/storeInformation/store/stores',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 修改店铺信息
|
|
export function updateStore(data) {
|
|
return request({
|
|
url: '/business/storeInformation/store',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改店铺规则信息
|
|
export function updateStoreRule(data) {
|
|
return request({
|
|
url: '/business/storeInformation/store/updateRule',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|