javashop/webroot/public/admin/assets/agent-61ba744b.js
wangchen147 71d3055aeb 0.0.3
修复已知问题
新增好友代付功能
优化wap端分包方案
2025-01-16 09:32:47 +08:00

2 lines
1.2 KiB
JavaScript

import{O as t}from"./index-0b1646aa.js";function n(e){return t.get("shop_fenxiao/agent",{params:e})}function o(e){return t.post("shop_fenxiao/agent",e,{showErrorMessage:!0,showSuccessMessage:!0})}function r(e){return t.put(`shop_fenxiao/agent/${e.member_id}`,e,{showErrorMessage:!0,showSuccessMessage:!0})}function u(e){return t.put(`shop_fenxiao/agent_status/${e.member_id}/${e.status}`,e,{showErrorMessage:!0,showSuccessMessage:!0})}function g(e){return t.post("shop_fenxiao/agent_level",e,{showErrorMessage:!0,showSuccessMessage:!0})}function a(e){return t.put(`shop_fenxiao/agent_level/${e.level_id}`,e,{showErrorMessage:!0,showSuccessMessage:!0})}function i(e){return t.delete(`shop_fenxiao/agent_level/${e.level_id}`,{showErrorMessage:!0,showSuccessMessage:!0})}function f(){return t.get("shop_fenxiao/agent_level_list")}function c(){return t.get("shop_fenxiao/agent_config")}function h(e){return t.put("shop_fenxiao/agent_config",e,{showErrorMessage:!0,showSuccessMessage:!0})}function _(){return t.get("shop_fenxiao/agent_status")}function l(e){return t.get("shop_fenxiao/agent_order",{params:e})}export{g as a,c as b,_ as c,i as d,a as e,n as f,f as g,r as h,o as i,u as j,l as k,h as s};