import{N as n}from"./index-CUnFTKV2.js";var e=(a=>(a[a.NewUser=1]="NewUser",a[a.Equity=2]="Equity",a[a.FullReduction=3]="FullReduction",a))(e||{});const d={1:"新人优惠券",2:"权益优惠券",3:"满减优惠券"};var u=(a=>(a[a.NoLimit=0]="NoLimit",a[a.YiFanShang=1]="YiFanShang",a[a.WuXianShang=2]="WuXianShang",a[a.LeiTaiShang=3]="LeiTaiShang",a[a.QuanJuShang=4]="QuanJuShang",a[a.LingZhuShang=5]="LingZhuShang",a[a.LianJiShang=6]="LianJiShang",a))(u||{});const g={0:"不限制",1:"一番赏",2:"无限赏",3:"擂台赏",4:"全局赏",5:"领主赏",6:"连击赏"};var h=(a=>(a[a.Unused=0]="Unused",a[a.Used=1]="Used",a[a.Expired=2]="Expired",a))(h||{});const l={0:"未使用",1:"已使用",2:"已过期"},r="/admin/business/coupon";function c(a){return n({url:r,method:"get",params:a})}function S(a){return n({url:r,method:"post",data:a})}function f(a,t){return n({url:`${r}/${a}`,method:"put",data:t})}function i(a){return n({url:`${r}/${a}`,method:"delete"})}function $(a,t){return n({url:`${r}/${a}/status`,method:"put",params:{status:t}})}function N(a){return n({url:`${r}/receive`,method:"get",params:a})}export{u as C,e as a,d as b,g as c,i as d,S as e,$ as f,c as g,l as h,N as i,h as j,f as u};
