|
|
@@ -114,7 +114,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid |
|
|
|
nextWatchAdDate := oneCirclesUserWatchRecords.NextWatchAdDate |
|
|
|
if residueWatchAdNum == 0 { |
|
|
|
nextWatchAdDate = now.Add(time.Hour * time.Duration(zhios_order_relate_utils.StrToInt(videoRewardSystem.EachRoundHour))) |
|
|
|
residueWatchAdNum = zhios_order_relate_utils.StrToInt(videoRewardSystem.EachRoundHour) |
|
|
|
residueWatchAdNum = zhios_order_relate_utils.StrToInt(videoRewardSystem.RewardTotalNum) |
|
|
|
} |
|
|
|
oneCirclesUserWatchRecords.ResidueWatchAdNum = residueWatchAdNum |
|
|
|
oneCirclesUserWatchRecords.NextWatchAdDate = nextWatchAdDate |
|
|
|