From 58c2692eb83f4b3b7d944da0238e45412df90f25 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Tue, 23 Apr 2024 17:39:42 +0800 Subject: [PATCH] fix coin order --- app/mix/service/apiservice.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index 2524d2cd..da3862ad 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1194,6 +1194,13 @@ func (s *Service) ApiGetStreamerExtListByMid(ctx *gin.Context, req *streamerprot if unlockInfo != nil { data.IsUnlockWechat = 1 } + + // 微信解锁订单 + cOrder, _ := _DefaultVas.GetCoinOrderById(ctx, unlockInfo.GetOrderId()) + if cOrder != nil { + data.WechatOrderId = cOrder.GetID() + data.WechatOrderStatus = cOrder.GetOrderStatus() + } return }