Ver a proveniência

update 一个圈圈

master
DengBiao há 8 meses
ascendente
cometimento
57b7b6436a
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      rule/one_circles/md/one_circles_public_platoon.go
  2. +1
    -1
      rule/one_circles/one_circles_public_platoon_give_activty_coin.go

+ 1
- 1
rule/one_circles/md/one_circles_public_platoon.go Ver ficheiro

@@ -3,7 +3,7 @@ package md
type VideoRewardSystemStruct struct {
RewardValue string `json:"reward_value"` //奖励X个活跃积分
RewardTotalNum string `json:"reward_total_num"` //一共X个奖励视屏
IntervalMinutes string `json:"interval_minutes"` //间隔X分钟
IntervalMinutes string `json:"interval_minutes"` //间隔X
EachRoundHour string `json:"each_round_hour"` //每一轮X个小时
}



+ 1
- 1
rule/one_circles/one_circles_public_platoon_give_activty_coin.go Ver ficheiro

@@ -213,7 +213,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid
watchAdDate = oneCirclesUserWatchRecords.NextWatchAdDate.Format("2006-01-02 15:04:05")
}
} else {
watchAdDate = time.Now().Add(time.Duration(zhios_order_relate_utils.StrToInt64(videoRewardSystem.IntervalMinutes)) * time.Minute).Format("2006-01-02 15:04:05")
watchAdDate = time.Now().Add(time.Duration(zhios_order_relate_utils.StrToInt64(videoRewardSystem.IntervalMinutes)) * time.Second).Format("2006-01-02 15:04:05")
//watchAdDate = oneCirclesUserWatchRecords.NextWatchAdDate.Format("2006-01-02 15:04:05")
}
cache.SetEx(redisKey, watchAdDate, 60*60*24) //TODO::默认缓存1小时


Carregando…
Cancelar
Guardar