|
|
@@ -60,9 +60,9 @@ func ApplySuccessInviterBenefit(wxUser *user_model.WxUser, shopId int64, source
|
|
|
}
|
|
|
//本人充值16800--发放4200代金券
|
|
|
rId := fmt.Sprintf("shop-apply-%d", shopId)
|
|
|
- c := base_config.GetSendCash()
|
|
|
- if shopApply.Total == base_config.GetUserApply() {
|
|
|
- c = int64(0)
|
|
|
+ c := base_config.GetUserCash()
|
|
|
+ if shopApply.Total == base_config.GetAgentApply() {
|
|
|
+ c = base_config.GetAgentCash()
|
|
|
}
|
|
|
benefitWxUser := GetInviter(wxUser)
|
|
|
if benefitWxUser == nil || benefitWxUser.Id == int64(1) {
|