import{aK as t}from"./index-d4baa715.js";function e(e){return t.get("/product/category/list",e)}function o(e){return t.get("/product/products",e)}function c(e){return t.get("/product/detail",e)}const l=e=>t.get("/relation/collect/user",{...e,type:"collect"}),a=e=>t.post("/relation/collect/add",{...e,type:"collect"}),r=e=>t.post("/relation/collect/batchDel",{...e,type:"collect"}),s=e=>t.post("/relation/collect/del",{...e,type:"collect"}),p=e=>t.get("/relation/collect/user",{...e,type:"foot"}),n=e=>t.post("/relation/collect/batchDel",{...e,type:"foot"}),u=e=>t.post("/relation/collect/del",{...e,type:"foot"}),i=(e,o)=>t.get(`/product/search/popular/${e}/${o}`),d=()=>t.get("/product/search/history"),g=()=>t.post("/product/search/history/del");function y(e){return t.post("/product/campaign/product-page",e)}export{c as a,d as b,g as c,o as d,y as e,a as f,e as g,i as h,p as i,u as j,n as k,l,r as m,s as u};
