fix:支付

This commit is contained in:
momo 2023-09-25 17:35:02 +08:00
parent 4261a5a97d
commit 17b98f83ff

View File

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