From 230976cbb6adff535ba5bb56d52ec89c45dec470 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 18 Aug 2023 11:19:54 +0800 Subject: [PATCH] diamondType --- _const/enum/diamond_e/diamond.go | 18 ++++++++++-------- script/fruit_day_award.go | 4 ++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/_const/enum/diamond_e/diamond.go b/_const/enum/diamond_e/diamond.go index bf1dc87..597ac28 100644 --- a/_const/enum/diamond_e/diamond.go +++ b/_const/enum/diamond_e/diamond.go @@ -93,22 +93,22 @@ const ( GameAward OperateType = 66 //游戏结算奖励 GameRefund OperateType = 67 //游戏退费 Paypal OperateType = 68 //paypal充值 - H5GameSlotJoin OperateType = 69 //加入游戏扣费 - H5GameSlotAward OperateType = 70 //游戏结算奖励 + H5GameSlotJoin OperateType = 69 //slot加入游戏扣费 + H5GameSlotAward OperateType = 70 //slot游戏结算奖励 ActFruitPutRankAward OperateType = 71 //水果机排行榜奖励 H5GameSlotLevelAward OperateType = 72 //游戏等级奖励 ActSlotWeekRankAward OperateType = 75 //slot周活动排行榜奖励 ActSlotWeekDailyAward OperateType = 76 //slot周活动每日福利奖励 ActFruitWeekDailyAward OperateType = 78 //水果机周活动每日福利奖励 ActSlotMonthAward OperateType = 79 //slot月度活动奖励 - H5GameCandyJoin OperateType = 80 //加入游戏扣费 - H5GameCandyAward OperateType = 81 //游戏结算奖励 - H5GameCandyLevelAward OperateType = 82 //游戏等级奖励 + H5GameCandyJoin OperateType = 80 //candy加入游戏扣费 + H5GameCandyAward OperateType = 81 //candy游戏结算奖励 + H5GameCandyLevelAward OperateType = 82 //candy游戏等级奖励 H5GameSlotStageAward OperateType = 83 //slot阶梯奖励 H5GameCandyStageAward OperateType = 84 //candy阶梯奖励 - H5GameGreedyJoin OperateType = 85 //加入游戏扣费 - H5GameGreedyAward OperateType = 86 //游戏结算奖励 - H5GameGreedyLevelAward OperateType = 87 //游戏等级奖励 + H5GameGreedyJoin OperateType = 85 //greedy加入游戏扣费 + H5GameGreedyAward OperateType = 86 //greedy游戏结算奖励 + H5GameGreedyLevelAward OperateType = 87 //greedy游戏等级奖励 ActCandyWeekRankAward OperateType = 88 //candy周活动排行榜奖励 ActCandyWeekDailyAward OperateType = 89 //candy周活动每日福利奖励 GemToDiamondYellow OperateType = 90 //粉钻转黄钻(黄钻) @@ -138,6 +138,8 @@ const ( ActGameSlotWeekRankAward OperateType = 116 //多财多福gameSlot周活动排行榜奖励 GameRaceBet OperateType = 117 //赛车投注 GameRaceAward OperateType = 118 //赛车奖励 + H5GameGameEgyptSlotJoin OperateType = 119 //egyptSlot加入游戏扣费 + H5GameGameEgyptSlotAward OperateType = 120 //egyptSlot游戏结算奖励 ) const ( diff --git a/script/fruit_day_award.go b/script/fruit_day_award.go index 45e4660..ddd1964 100644 --- a/script/fruit_day_award.go +++ b/script/fruit_day_award.go @@ -41,7 +41,7 @@ func ats32(a interface{}) string { } func main() { - url := "https://apiv2.faceline.live/v1/fruitMachine/rank/award?lang=zh-cn&pageIndex=1&pageSize=50000&beginDate=2023-08-15&endDate=2023-08-15&userCode=&timezone=1" + url := "https://apiv2.faceline.live/v1/fruitMachine/rank/award?lang=zh-cn&pageIndex=1&pageSize=50000&beginDate=2023-08-16&endDate=2023-08-16&userCode=&timezone=1" method := "GET" client := &http.Client{} @@ -95,7 +95,7 @@ func main() { for _, v := range svips { svipMap[v.Code] = v.Level } - excelFileName := fmt.Sprintf("./0815水果机中奖榜.xlsx") + excelFileName := fmt.Sprintf("./0816水果机中奖榜.xlsx") xlFile := xlsx.NewFile() sheet, _ := xlFile.AddSheet("charge") row := sheet.AddRow() -- 2.22.0