梁航:发布店铺转让接口

This commit is contained in:
hot777zz
2023-11-18 16:15:14 +08:00
parent 3ea952742a
commit 5417975723

View File

@@ -1,5 +1,4 @@
const serverHost = 'https://spsp.feashow.com/api' //http://xx.xxx.xx
const service = {
get(url, data) {
const header = {}
@@ -239,6 +238,21 @@ const apiService = {
resolve(service.post(url))
})
},
//招募合伙
toBePartner(data){
const url = `/center/partner`
return new Promise((resolve,reject) => {
console.log(data);
resolve(service.post(url,data))
})
},
//获取商铺列表
getShopList(query){
const url = `/shop/alllist${query}`
return new Promise((resolve,reject) => {
resolve(service.get(url))
})
},
//发布店铺转让
publishTransfer(data){
const url = `/shop/transfer/`