Browse Source

fix:bug

dev
Tooooommy 4 years ago
parent
commit
d11739c5b3
  1. 3
      controllers/client/shake_red_envelope.go

3
controllers/client/shake_red_envelope.go

@ -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")
}

Loading…
Cancel
Save