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.
35 lines
822 B
35 lines
822 B
import http from "@/utils/request";
|
|
|
|
export function getCateList() {
|
|
return http.get("/store/getcategory");
|
|
}
|
|
|
|
export function getGoodsList(params) {
|
|
return http.get("/store/getproductlist", params);
|
|
}
|
|
|
|
export function getIndexData() {
|
|
return http.get("/store/index_api");
|
|
}
|
|
|
|
export function getStoreDetail(id) {
|
|
return http.get("/store/detail_api", { id });
|
|
}
|
|
|
|
export function getReplyData(productId) {
|
|
return http.get("/auth_api/product_reply_data", { productId });
|
|
}
|
|
|
|
export function getReplyList(params) {
|
|
return http.get("/auth_api/product_reply_list", params);
|
|
}
|
|
|
|
export function getAssociatedTopics(params) {
|
|
return http.get("/store/getAssociatedTopics", params);
|
|
}
|
|
|
|
export function createOrder(data) {
|
|
return http.get("/auth_api/now_buy", data, {
|
|
requireAuth: true
|
|
});
|
|
} |