|
|
@@ -149,6 +149,9 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin |
|
|
|
var rewardFather []struct { |
|
|
|
Uid int64 `json:"uid"` //用户id |
|
|
|
RewardValue float64 `json:"reward_value"` //奖励值 |
|
|
|
StartAt string `json:"start_at"` |
|
|
|
EndAt string `json:"end_at"` |
|
|
|
SignId int64 `json:"sign_id"` |
|
|
|
} |
|
|
|
|
|
|
|
var fatherUids []string |
|
|
@@ -195,9 +198,15 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin |
|
|
|
rewardFather = append(rewardFather, struct { |
|
|
|
Uid int64 `json:"uid"` //用户id |
|
|
|
RewardValue float64 `json:"reward_value"` //奖励值 |
|
|
|
StartAt string `json:"start_at"` |
|
|
|
EndAt string `json:"end_at"` |
|
|
|
SignId int64 `json:"sign_id"` |
|
|
|
}{ |
|
|
|
Uid: egg_system_rules.StrToInt64(fatherUid), |
|
|
|
RewardValue: fatherRewardValue, |
|
|
|
StartAt: m.StartTime, |
|
|
|
EndAt: m.EndTime, |
|
|
|
SignId: m.Id, |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@@ -279,9 +288,9 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin |
|
|
|
AssistanceUid: uid, |
|
|
|
Uid: vv.Uid, |
|
|
|
AssistanceValue: vv.RewardValue, |
|
|
|
SignStart: fatherSign.StartTime, |
|
|
|
SignEnd: fatherSign.EndTime, |
|
|
|
SignId: fatherSign.Id, |
|
|
|
SignStart: vv.StartAt, |
|
|
|
SignEnd: vv.EndAt, |
|
|
|
SignId: vv.SignId, |
|
|
|
}, md2.EggEnergyTeamAssistance) |
|
|
|
} |
|
|
|
} |
|
|
|