Sfoglia il codice sorgente

update 一个圈圈

master
DengBiao 10 mesi fa
parent
commit
e15d3b3a65
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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]
//判断是否满足奖励条件


Caricamento…
Annulla
Salva