fix: 茅台预约,功能代码提交。
This commit is contained in:
51
src/api/invest/ishop.js
Normal file
51
src/api/invest/ishop.js
Normal file
@@ -0,0 +1,51 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询门店列表列表
|
||||
export function listIshop(query) {
|
||||
return request({
|
||||
url: '/invest/ishop/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询门店列表详细
|
||||
export function getIshop(shopId) {
|
||||
return request({
|
||||
url: '/invest/ishop/' + shopId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增门店列表
|
||||
export function addIshop(data) {
|
||||
return request({
|
||||
url: '/invest/ishop',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改门店列表
|
||||
export function updateIshop(data) {
|
||||
return request({
|
||||
url: '/invest/ishop',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除门店列表
|
||||
export function delIshop(shopId) {
|
||||
return request({
|
||||
url: '/invest/ishop/' + shopId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
// i茅台商品
|
||||
export function refreshShop() {
|
||||
return request({
|
||||
url: '/invest/ishop/refresh',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user