Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/master'

master
huangjiajun pirms 8 mēnešiem
vecāks
revīzija
5cb2fb4c15
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      rule/one_circles/one_circles_public_platoon_give_activty_coin.go

+ 1
- 1
rule/one_circles/one_circles_public_platoon_give_activty_coin.go Parādīt failu

@@ -101,7 +101,7 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid
return err2
}

if userCount >= zhios_order_relate_utils.StrToInt64(fatherReward.RewardCondition) {
if fatherReward != nil && userCount >= zhios_order_relate_utils.StrToInt64(fatherReward.RewardCondition) {
fatherRewardValue := rewardValue * (zhios_order_relate_utils.StrToFloat64(fatherReward.RewardValue) / 100)
rewardFather = append(rewardFather, struct {
Uid int `json:"uid"` //用户id


Notiek ielāde…
Atcelt
Saglabāt