You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
911 B
63 lines
911 B
import request from "@/utils/request.js"; |
|
import {host} from "@/config/host.js"; |
|
|
|
/** |
|
* 公寓列表 |
|
* @param {Object} data |
|
*/ |
|
export function roomList(data) { |
|
|
|
return request({ |
|
url: `${host}/market/houselist`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
/** |
|
* 公寓列表 |
|
* @param {Object} data |
|
*/ |
|
export function streetList(data) { |
|
|
|
return request({ |
|
url: `${host}/common/streetall-list`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
/** |
|
* 商品列表 |
|
* @param {Object} data |
|
*/ |
|
export function goodsList(data) { |
|
|
|
return request({ |
|
url: `${host}/market/goodslist`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
/** |
|
* 公寓详情 |
|
* @param {Object} data |
|
*/ |
|
export function roomDetail(data) { |
|
|
|
return request({ |
|
url: `${host}/market/houseinfo`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
/** |
|
* |
|
* @param {Object} data |
|
*/ |
|
export function goodsType(data) { |
|
|
|
return request({ |
|
url: `${host}/other/goods-type`, |
|
method: "get", |
|
data |
|
}); |
|
} |