import{N as r}from"./index-CUnFTKV2.js";var t=(e=>(e[e.Unpaid=0]="Unpaid",e[e.Paid=1]="Paid",e[e.Cancelled=2]="Cancelled",e))(t||{});const l={0:"待支付",1:"已支付",2:"已取消"};var s=(e=>(e[e.Unpaid=0]="Unpaid",e[e.Pending=1]="Pending",e[e.Shipped=2]="Shipped",e[e.Received=3]="Received",e[e.Cancelled=4]="Cancelled",e))(s||{}),i=(e=>(e[e.Pending=0]="Pending",e[e.Recovered=1]="Recovered",e[e.Shipped=2]="Shipped",e))(i||{}),d=(e=>(e[e.Unpaid=0]="Unpaid",e[e.WeChat=1]="WeChat",e[e.Alipay=2]="Alipay",e))(d||{});const p={0:"正常",1:"推广",2:"测试"},u={0:"正常",1:"封号"},n="/admin/business/orders";function a(e){return r({url:n,method:"get",params:e})}function h(e){return r({url:`${n}/${e}`,method:"get"})}function g(e){return r({url:`${n}/export`,method:"get",params:e,responseType:"blob"})}function $(e){return r({url:`${n}/stuck`,method:"get",params:e})}function f(e){return r({url:`${n}/shipping`,method:"get",params:e})}function m(e){return r({url:`${n}/shipping/${e}`,method:"get"})}function v(e,o){return r({url:`${n}/${e}/ship`,method:"put",data:o})}function b(e){return r({url:`${n}/${e}/ship`,method:"delete"})}function x(e){return r({url:`${n}/shipping/export`,method:"get",params:e,responseType:"blob"})}function R(e){return r({url:`${n}/shipping/stats`,method:"get",params:e})}function C(e){return r({url:`${n}/recovery`,method:"get",params:e})}function U(e){return r({url:`${n}/recovery/export`,method:"get",params:e,responseType:"blob"})}function A(e){return r({url:`${n}/list`,method:"get",params:e})}function O(e){return r({url:`${n}/list/export`,method:"get",params:e,responseType:"blob"})}export{p as A,t as O,d as P,s as S,h as a,i as b,l as c,u as d,g as e,m as f,a as g,A as h,O as i,C as j,U as k,f as l,R as m,b as n,x as o,$ as p,v as s};
