Commit 100ebb9d authored by chenweijian's avatar chenweijian

开斋节活动

parent 2edfa2a3
......@@ -12,4 +12,5 @@ const (
OpenRamadanTaskTimesSlot = "act:openRamadan:slot:%d:%s:%d" // 开斋节活动,玩slot游戏奖励领取次数,活动id:日期:用户id
OpenRamadanTaskTimesEnter = "act:openRamadan:enter:%d:%s:%d" // 开斋节活动,穿指定座驾进入不同房间 奖励领取次数,活动id:日期:用户id
OpenRamadanTaskTimesRoom = "act:openRamadan:room:%d:%s:%d:%d" // 开斋节活动,今日进入某个房间的次数,活动id:日期:用户id:房间id
OpenRamadanFruitBet = "act:openRamadan:fruitBet:%d:%s:%d:%d" // 开斋节活动,水果机某个轮次下注次数记录,活动id:日期:用户id:轮次
)
......@@ -38,3 +38,7 @@ func GetOpenRamadanTaskTimesEnter(actId, userId uint64) string {
func GetOpenRamadanTaskTimesRoom(actId, userId, roomId uint64) string {
return fmt.Sprintf(OpenRamadanTaskTimesRoom, actId, time.Now().Format(utils.DATE_FORMAT), userId, roomId)
}
func GetOpenRamadanFruitBet(actId, userId uint64, round uint, date string) string {
return fmt.Sprintf(OpenRamadanFruitBet, actId, date, userId, round)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment