Commit 0f001155 authored by chenweijian's avatar chenweijian

游戏

parent b08e0e14
......@@ -49,4 +49,5 @@ const (
ActImeiGetAwardTimes = "act:imeiAwardTimes:%d:%d:%d:%s" // 一个设备在活动中的领奖次数 活动id:领奖类型:level:设备号
ExchangePinkCostDiamond = "finance:exPinkDiamond:%s:%d" // 某天兑换粉钻所花费的黄钻 日期:用户id
GameAutoMathEnterRoom = "game:autoEnter:%d:%s" // 快速游戏,进入某个房间
)
......@@ -103,3 +103,7 @@ func GetExchangePinkCostDiamond(userId uint64) string {
func GetOpenRamadanSendGiftLeftDiamond(actId, userId uint64) string {
return fmt.Sprintf(OpenRamadanSendGiftLeftDiamond, actId, userId)
}
func GetAutoMathEnterRoom(userId uint64, imGroupId string) string {
return fmt.Sprintf(GameAutoMathEnterRoom, userId, imGroupId)
}
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