浏览代码

update 一个圈圈

master
DengBiao 10 个月前
父节点
当前提交
e15d3b3a65
共有 1 个文件被更改,包括 4 次插入1 次删除
  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 查看文件

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


正在加载...
取消
保存