Преглед на файлове

update 一个圈圈

master
DengBiao преди 7 месеца
родител
ревизия
57b7b6436a
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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 Целия файл

@@ -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 Целия файл

@@ -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小时


Зареждане…
Отказ
Запис