梁航:处理合并冲突
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
const serverHost = 'https://spsp.feashow.com/api' //http://xx.xxx.xx
|
const serverHost = 'https://spsp.feashow.com/api' //http://xx.xxx.xx
|
||||||
|
|
||||||
const service = {
|
const service = {
|
||||||
get(url, data) {
|
get(url, data) {
|
||||||
const header = {}
|
const header = {}
|
||||||
@@ -246,6 +247,14 @@ const apiService = {
|
|||||||
resolve(service.post(url,data))
|
resolve(service.post(url,data))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//获取商铺列表
|
||||||
|
getShopList(query){
|
||||||
|
const url = `/shop/alllist${query}`
|
||||||
|
return new Promise((resolve,reject) => {
|
||||||
|
resolve(service.get(url))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
//发布店铺转让
|
//发布店铺转让
|
||||||
publishTransfer(data){
|
publishTransfer(data){
|
||||||
const url = `/shop/transfer/`
|
const url = `/shop/transfer/`
|
||||||
|
|||||||
Reference in New Issue
Block a user