You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

serial_redis_key.go 225 B

3 years ago
12345678910
  1. package redis_key
  2. import "time"
  3. const SERIAL_REDIS_PREFIX = "serial"
  4. func RewardSerialCounter(now time.Time) string {
  5. h := now.Format("200601021504")
  6. return KeyJoin(SERIAL_REDIS_PREFIX, "reward_operate", h, "counter")
  7. }