key_func.go 309 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11 12
package rediskey

import (
	"fmt"
	"git.hilo.cn/hilo-common/utils"
	"time"
)

func GetSlotFruitDailyTimes(userId uint64) string {
	var cstZone = time.FixedZone("CST", 3*3600) // 东三区,沙特时间
	return fmt.Sprintf(SlotFruitWeeklyDailyTask, time.Now().In(cstZone).Format(utils.DATE_FORMAT), userId)
}