Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
0f75a2f27e
|
@ -108,6 +108,7 @@ type OpOrderVO struct {
|
|||
OrderStatus int32 `json:"order_status"`
|
||||
OrderStatusDesc string `json:"order_status_desc"`
|
||||
Coins int64 `json:"coins"`
|
||||
Money int64 `json:"money"`
|
||||
Ct int64 `json:"ct"`
|
||||
ProductName string `json:"product_name"`
|
||||
}
|
||||
|
|
|
@ -633,9 +633,10 @@ func (s *Service) OpOrderList(ctx *gin.Context, req *vasproto.OpOrderListReq) (l
|
|||
OrderStatus: o.GetOrderStatus(),
|
||||
OrderStatusDesc: dbstruct.OrderStatusDescMap[o.GetOrderStatus()],
|
||||
Coins: o.GetCoins(),
|
||||
Money: o.GetPayAmount(),
|
||||
Ct: o.GetCt(),
|
||||
ProductName: dbstruct.ProductIdDescMap[o.GetProductId()],
|
||||
}
|
||||
item.ProductName = dbstruct.ProductIdDescMap[o.GetProductId()]
|
||||
list = append(list, item)
|
||||
}
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue