niucloud-admin/niucloud/public/admin/assets/shop_address-7eb66eb4.js
2023-11-15 15:57:04 +08:00

2 lines
626 B
JavaScript

import{x as e}from"./index-7eafba5f.js";function o(s){return e.get("shop/shop_address",{params:s})}function d(s){return e.get(`shop/shop_address/${s}`)}function t(s){return e.post("shop/shop_address",s,{showErrorMessage:!0,showSuccessMessage:!0})}function u(s){return e.put(`shop/shop_address/${s.id}`,s,{showErrorMessage:!0,showSuccessMessage:!0})}function h(s){return e.delete(`shop/shop_address/${s}`,{showErrorMessage:!0,showSuccessMessage:!0})}function n(){return e.get("shop/shop_address/default/delivery")}function a(){return e.get("shop/order/refund/address")}export{t as a,o as b,n as c,h as d,u as e,a as f,d as g};