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.
82 lines
1.9 KiB
82 lines
1.9 KiB
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 getRecommendGoodsList(params) {
|
|
return http.get("/store/getRecommendProductList", 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
|
|
});
|
|
}
|
|
|
|
export function getApplyInvoicingList(params) {
|
|
return http.get("/invoice/records", params);
|
|
}
|
|
|
|
export function getInvoiceHeaderList(params) {
|
|
return http.get("/invoice/list", params);
|
|
}
|
|
|
|
export function addInvoiceHeader(params) {
|
|
return http.post("/invoice/add", params);
|
|
}
|
|
|
|
export function editInvoiceHeader(params) {
|
|
return http.post("/invoice/edit", params);
|
|
}
|
|
|
|
export function applyInvoice(params) {
|
|
return http.post("/invoice/make", params);
|
|
}
|
|
|
|
|
|
export function deleteInvoice(params) {
|
|
return http.post("/invoice/delete", params);
|
|
}
|
|
|
|
export function getCartList(params) {
|
|
return http.get("/Auth_Api/get_cart_list", params);
|
|
}
|
|
|
|
export function joinCart(params) {
|
|
return http.get("/Auth_Api/set_cart", params);
|
|
}
|
|
|
|
export function deleteCart(params) {
|
|
return http.get("/auth_api/remove_cart", params);
|
|
}
|
|
|
|
export function changeCartNum(params) {
|
|
return http.get("/auth_api/change_cart_num", params);
|
|
} |