diff --git a/api/proto/vas/proto/op.go b/api/proto/vas/proto/op.go index ae246c08..9c8cda35 100644 --- a/api/proto/vas/proto/op.go +++ b/api/proto/vas/proto/op.go @@ -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"` } diff --git a/app/mix/service/vasservice.go b/app/mix/service/vasservice.go index 083a3e25..b335f539 100644 --- a/app/mix/service/vasservice.go +++ b/app/mix/service/vasservice.go @@ -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