Przeglądaj źródła

update 一个圈圈

master
DengBiao 9 miesięcy temu
rodzic
commit
e15d3b3a65
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      rule/one_circles/one_circles_public_platoon_give_activty_coin.go

+ 4
- 1
rule/one_circles/one_circles_public_platoon_give_activty_coin.go Wyświetl plik

@@ -61,7 +61,10 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid
RewardValue float64 `json:"reward_value"` //奖励值
}

fatherUids := strings.Split(oneCirclesPublicPlatoonUserRelation.FatherUid, "-")
var fatherUids []string
if oneCirclesPublicPlatoonUserRelation != nil {
fatherUids = strings.Split(oneCirclesPublicPlatoonUserRelation.FatherUid, "-")
}
for k, fatherUid := range fatherUids {
fatherReward := rewardSystemMap[k+1]
//判断是否满足奖励条件


Ładowanie…
Anuluj
Zapisz