import{ay as p,aK as e}from"./index-BgKoOiXL.js";const s="https://dashboard.jetprintapp.com",m=p({id:"comment",state:()=>({}),actions:{async commentPage(t,o,n){const a={current:t,size:o,productId:n,contentType:"application/json;charset=UTF-8"};return await e.post(`${s}/shopapi/blankProductComment/list`,a)},async addComment(t,o,n,a){const r={productId:t,comment:o,star:n,photos:a,contentType:"application/json;charset=UTF-8"};return await e.post(`${s}/shopapi/blankProductComment/add`,r)},async likeComment(t,o,n,a){const r={productId:t,comment:o,star:n,photos:a,contentType:"application/json;charset=UTF-8"};return await e.post(`${s}/shopapi/blankProductComment/like`,r)},async unlikeComment(t,o,n,a){const r={productId:t,comment:o,star:n,photos:a,contentType:"application/json;charset=UTF-8"};return await e.post(`${s}/shopapi/blankProductComment/unlike`,r)},async commentModify(t){return await e.post(`${s}/shopapi/blankProductComment/modify`,t)},async blankProductCommentRemove(t){return await e.post(`${s}/shopapi/blankProductComment/remove`,t)},async noticeList(t){return await e.post(`${s}/shopapi/notice/list`,t)}}});export{m as c};