diff --git a/internal/api/mobile/order/query.go b/internal/api/mobile/order/query.go index 427a623..5365b86 100755 --- a/internal/api/mobile/order/query.go +++ b/internal/api/mobile/order/query.go @@ -383,6 +383,7 @@ type queryOrderDetailResponse struct { PayTime formatime.Second `json:"payTime"` StatusList []goodsStatus `json:"status_list"` MakeUpText string `json:"make_up_text"` + MakeUpAmount decimal.Decimal `json:"make_up_amount"` } type goodsStatus struct { @@ -601,6 +602,7 @@ func QueryOrderDetail(c *gin.Context) { PayTime: orderInfo[0].PayTime, StatusList: statusList, MakeUpText: o.Reason, + MakeUpAmount: o.Amount, }) }