fix coin order
This commit is contained in:
parent
2860992cba
commit
58c2692eb8
|
@ -1194,6 +1194,13 @@ func (s *Service) ApiGetStreamerExtListByMid(ctx *gin.Context, req *streamerprot
|
||||||
if unlockInfo != nil {
|
if unlockInfo != nil {
|
||||||
data.IsUnlockWechat = 1
|
data.IsUnlockWechat = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 微信解锁订单
|
||||||
|
cOrder, _ := _DefaultVas.GetCoinOrderById(ctx, unlockInfo.GetOrderId())
|
||||||
|
if cOrder != nil {
|
||||||
|
data.WechatOrderId = cOrder.GetID()
|
||||||
|
data.WechatOrderStatus = cOrder.GetOrderStatus()
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue