import{e as s}from"./index-BhVZTysP.js";function e(e){return s.get({url:"/api/coupon/list",params:e})}function o(e){return s.post({url:"/api/coupon/save",data:e,showSuccessMessage:!0})}function a(e){return s.post({url:"/api/coupon/delete",data:{id:e},showSuccessMessage:!0})}function n(e,o){return s.post({url:"/api/coupon/check",data:{code:e,shop_id:o},returnRawResponse:!0,skipUnauthorizedHandler:!0})}export{n as c,a as d,e as g,o as s};
