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.
yanzong/public/assets/cart.414ee15f.js

2 lines
379 B

11 months ago
import{$ as o}from"./index-ae8bbb19.js";const s="cart/list",t="cart/total",a="cart/add",d="cart/update",r="cart/clear",c=()=>o.get(s,{},{load:!1}),g=()=>o.get(t,{},{load:!1}),p=(s,t,d)=>o.post(a,{goodsId:s,goodsSkuId:t,goodsNum:d}),e=(s,t,a)=>o.post(d,{goodsId:s,goodsSkuId:t,goodsNum:a},{isPrompt:!1}),l=(s=[])=>o.post(r,{cartIds:s});export{p as a,l as c,c as l,g as t,e as u};