|
@@ -61,7 +61,10 @@ func SettlementPublicGiveActivityCoin(engine *xorm.Engine, masterId string, uid |
|
|
RewardValue float64 `json:"reward_value"` //奖励值 |
|
|
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 { |
|
|
for k, fatherUid := range fatherUids { |
|
|
fatherReward := rewardSystemMap[k+1] |
|
|
fatherReward := rewardSystemMap[k+1] |
|
|
//判断是否满足奖励条件 |
|
|
//判断是否满足奖励条件 |
|
|