fix coin order

This commit is contained in:
lwl0608 2024-04-23 17:39:42 +08:00
parent 2860992cba
commit 58c2692eb8
1 changed files with 7 additions and 0 deletions

View File

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