import{ay as e,aK as a}from"./index-BgKoOiXL.js";const r="https://dashboard.jetprintapp.com",p=e({id:"cart",state:()=>({}),actions:{async cartList(t){return await a.post(`${r}/shopapi/cart/list`,t)},async addToCart(t){return await a.post(`${r}/shopapi/cart/add`,t)},async removeFromCart(t){return await a.post(`${r}/shopapi/cart/remove`,t)},async updateCartItemNum(t){return await a.post(`${r}/shopapi/cart/update_num`,t)},async updateCartItemSku(t){return await a.post(`${r}/shopapi/cart/update_sku`,t)},async cartCount(t){return await a.post(`${r}/shopapi/cart/count`,t)}}});export{p as c};