Merge branch 'lj'
# Conflicts: # service/request.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user