Commit f53b7666 authored by chenweijian's avatar chenweijian

3.7

parent 10ad64e6
......@@ -13,4 +13,6 @@ const (
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:轮次
ConvertToTRTCNum = "group:covertTrtc:%s" // 某天声网房间转换成trtc的数量
)
......@@ -42,3 +42,7 @@ func GetOpenRamadanTaskTimesRoom(actId, userId, roomId uint64) string {
func GetOpenRamadanFruitBet(actId, userId uint64, round uint, date string) string {
return fmt.Sprintf(OpenRamadanFruitBet, actId, date, userId, round)
}
func GetConvertToTRTCNum() string {
return fmt.Sprintf(ConvertToTRTCNum, time.Now().Format(utils.DATE_FORMAT))
}
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