adjust
This commit is contained in:
parent
c60a871f7c
commit
1715b03476
@ -300,6 +300,12 @@ func (iga *InGameApi) OrderInfo(c *gin.Context) {
|
|||||||
Status: orderModel.Status,
|
Status: orderModel.Status,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !f5.IsOnlineEnv() {
|
||||||
|
count, _ := service.Wxpay.GetGoodsCount(q5.SafeToInt64(data["gameid"]), int64(orderModel.ItemId))
|
||||||
|
rspObj.Count = int32(count)
|
||||||
|
rspObj.Status = 1
|
||||||
|
}
|
||||||
|
|
||||||
c.JSON(200, rspObj)
|
c.JSON(200, rspObj)
|
||||||
|
|
||||||
if orderModel.Status == 0 {
|
if orderModel.Status == 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user