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