2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
import{N as t}from"./index-wbLC-Cww.js";var o=(e=>(e.Invite="invite",e.Loss="loss",e.DadaCoin="dada",e.Diamond="diamond",e.UUCoin="uu",e))(o||{});const i={invite:"邀请新人",loss:"亏损补贴",dada:"达达券",diamond:"钻石",uu:"UU币"},n="/admin/business/rank";function s(e){return t({url:`${n}/week`,method:"get",params:e})}function a(e){return t({url:`${n}/week`,method:"post",data:e})}function d(e,r){return t({url:`${n}/week/${e}`,method:"put",data:r})}function h(e){return t({url:`${n}/week/${e}`,method:"delete"})}function m(e){return t({url:`${n}/week/log`,method:"get",params:e})}function l(e){return t({url:`${n}/month`,method:"get",params:e})}function c(e){return t({url:`${n}/month`,method:"post",data:e})}function g(e,r){return t({url:`${n}/month/${e}`,method:"put",data:r})}function $(e){return t({url:`${n}/month/${e}`,method:"delete"})}function f(e){return t({url:`${n}/month/log`,method:"get",params:e})}function k(e){return t({url:`${n}/user`,method:"get",params:e})}function z(){return t({url:`${n}/prize-types`,method:"get"})}export{o as U,g as a,c as b,a as c,f as d,l as e,$ as f,z as g,i as h,k as i,m as j,s as k,h as l,d as u};
|