chatapp-h5/h5/js/lottery-BvmnIlAm-1776148658686.js
2026-04-14 17:58:21 +08:00

2 lines
4.1 KiB
JavaScript

import{L as t,W as o}from"./index-CIAVq8iD-1776148658686.js";const c=async e=>{try{return await t(`/activity/lottery/withdraw/amount?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my withdrawable amount:",r),console.error("error:"+r.response.errorMsg),r}},a=async e=>{try{return await t(`/activity/lottery/withdraw/records?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my withdraw records:",r),console.error("error:"+r.response.errorMsg),r}},n=async e=>{try{return await o("/activity/lottery/withdraw/apply",e)}catch(r){throw console.error("Failed to fetch withdraw apply:",r),r}},i=async e=>{try{return await t(`/activity/lottery/recharge-rank?activityId=${e.activityId}&pageNo=${e.pageNo}&pageSize=${e.pageSize}`)}catch(r){throw console.error("Failed to fetch get rank list:",r),console.error("error:"+r.response.errorMsg),r}},y=async e=>{try{return await t(`/activity/lottery/detail/${e}`)}catch(r){throw console.error("Failed to fetch get activity detail:",r),console.error("error:"+r.response.errorMsg),r}},l=async e=>{try{return await t(`/activity/lottery/my-recharge?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my recharge:",r),console.error("error:"+r.response.errorMsg),r}},w=async e=>{try{return await t(`/activity/lottery/reward-configs?activityType=${e.activityType}&activityId=${e.activityId}`)}catch(r){throw console.error("Failed to fetch get activity reward:",r),console.error("error:"+r.response.errorMsg),r}},p=async e=>{try{return await t(`/props-activity-cnf/client/listActivityResource?sysOrigin=${e.sysOrigin}&activityType=${e.activityType}`)}catch(r){throw console.error("Failed to fetch get gifts ranking reward:",r),console.error("error:"+r.response.errorMsg),r}},h=async e=>{try{return e?await t(`/activity/lottery/my-ticket-count?activityId=${e}`):await t("/activity/lottery/my-ticket-count")}catch(r){throw console.error("Failed to fetch get my tickets:",r),console.error("error:"+r.response.errorMsg),r}},d=async e=>{try{return await t(`/activity/lottery/my-total-draw-count?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my total draw count:",r),console.error("error:"+r.response.errorMsg),r}},g=async e=>{try{return await o("/activity/lottery/draw",e)}catch(r){throw console.error("Failed to fetch once draw:",r),r}},v=async e=>{try{return await o("/activity/lottery/multi-draw",e)}catch(r){throw console.error("Failed to fetch multiply draw:",r),r}},f=async e=>{try{return await t(`/activity/lottery/my-records?pageSize=100&activityCode=${e}`)}catch(r){throw console.error("Failed to fetch get draw records:",r),console.error("error:"+r.response.errorMsg),r}},u=async e=>{try{return await t(`/activity/lottery/winner-history?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get winners:",r),console.error("error:"+r.response.errorMsg),r}},m=async e=>{try{return await t(`/activity/lottery/reward-configs-badge?activityType=${e.activityType}&activityId=${e.activityId}`)}catch(r){throw console.error("Failed to fetch get reward configs badge:",r),console.error("error:"+r.response.errorMsg),r}},F=async e=>{try{return await o("/activity/lottery/claim-reward-badge",e)}catch(r){throw console.error("Failed to fetch receive reward badge:",r),r}},$=async e=>{try{return await t(`/spins/task/list?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get tickets:",r),console.error("error:"+r.response.errorMsg),r}},k=async e=>{try{return await o("/spins/task/receive/reward",e)}catch(r){throw console.error("Failed to fetch receive tickets:",r),r}},M=async e=>{try{return await o("/activity/lottery/claim-reward",e)}catch(r){throw console.error("Failed to fetch receive rewards:",r),r}},I=async e=>{try{return await o("/activity/lottery/transfer",e)}catch(r){throw console.error("Failed to fetch transfer activity dollar:",r),r}},T=async e=>{try{return await o("/activity/lottery/exchange",e)}catch(r){throw console.error("Failed to fetch exchange coin:",r),r}};export{$ as A,n as a,a as b,u as c,l as d,w as e,y as f,d as g,h,f as i,M as j,T as k,k as l,v as m,F as n,g as o,m as p,p as q,i as r,I as t,c as w};