|
|
@ -95,8 +95,9 @@ func (t *ShakeRedEnvelopeCtl) Shake() { |
|
|
|
|
|
|
|
// 记录红包 ---> 非彩排才能
|
|
|
|
if activity.RehearsalId == 0 { |
|
|
|
result, _ := pay_service.SendRedPack("欧轩互动", user.Openid, "红包只会越抢越多", |
|
|
|
result, err := pay_service.SendRedPack("欧轩互动", user.Openid, "红包只会越抢越多", |
|
|
|
"直播抢红包活动", "抢的多,赚得多", int(record.Amount*100), 1, 2) |
|
|
|
t.CheckErr(err) |
|
|
|
record.MchBillno = result.MchBillno |
|
|
|
models.Update(record.Id, record, "mch_billno") |
|
|
|
} |
|
|
|