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.
27 lines
408 B
27 lines
408 B
import request from "@/utils/request.js"; |
|
import {host} from "@/config/host.js"; |
|
|
|
/** |
|
* banner |
|
* @param {Object} data |
|
*/ |
|
export function banner(data) { |
|
|
|
return request({ |
|
url: `${host}/other/banner`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
/** |
|
* 首页商品 |
|
* @param {Object} data |
|
*/ |
|
export function indexGoods(data) { |
|
|
|
return request({ |
|
url: `${host}/market/goodsnewlist`, |
|
method: "post", |
|
data |
|
}); |
|
}
|
|
|