Merge branch 'lj'

# Conflicts:
#	service/request.js
This commit is contained in:
LuoShijie
2023-11-18 23:07:21 +08:00
11 changed files with 1075 additions and 528 deletions

View File

@@ -1,5 +1,4 @@
const serverHost = 'https://spsp.feashow.com/api' //http://xx.xxx.xx
const service = {
get(url, data) {
const header = {}
@@ -254,6 +253,34 @@ const apiService = {
resolve(service.get(url))
})
},
//发布店铺转让
publishTransfer(data){
const url = `/shop/transfer/`
return new Promise((resolve, reject) => {
resolve(service.post(url, data))
})
},
//发布店铺出租
publishRent(data){
const url = `/shop/rent/`
return new Promise((resolve, reject) => {
resolve(service.post(url, data))
})
},
//发布找店地址
publishAddress(data){
const url = `/shop/selection/`
return new Promise((resolve, reject) => {
resolve(service.post(url, data))
})
},
//发布项目招商
publishInvestment(data){
const url = `/shop/investment/`
return new Promise((resolve, reject) => {
resolve(service.post(url, data))
})
},
// 获得成交案例
getSuccList(type){
if (!type) {