import http from "@/utils/request"; export function getCateList() { return http.get("/store/getcategory"); } export function getGoodsCateList() { return http.get("/store/getentitycategory"); } 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 }); }