fix:支付
This commit is contained in:
parent
4261a5a97d
commit
17b98f83ff
|
@ -73,10 +73,11 @@ func (l *StripeWebhookLogic) StripeWebhook(req *types.StripeWebhookReq, userinfo
|
|||
var payMethod = int64(constants.PAYMETHOD_STRIPE)
|
||||
var nowTime = time.Now().UTC()
|
||||
var eventData = []byte(event.Data.Raw)
|
||||
eventType := string(event.Type)
|
||||
l.HandlePayEventCreate(&gmodel.FsOrderTradeEvent{
|
||||
PayMethod: &payMethod,
|
||||
EventId: &event.ID,
|
||||
EventType: &event.Type,
|
||||
EventType: &eventType,
|
||||
EventData: &eventData,
|
||||
Ctime: &nowTime,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user