Browse Source

update 一个圈圈

master
DengBiao 9 months ago
parent
commit
e15d3b3a65
1 changed files with 4 additions and 1 deletions
  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 View 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]
//判断是否满足奖励条件


Loading…
Cancel
Save