import{av as e,aI as a}from"./index-CW_ph8U7.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};