Compare commits

..

No commits in common. "595726bc602ed73e4607a5dec7208867655d89bf" and "c13634ed089bfd8807a912071c5aa3e67aed6eff" have entirely different histories.

3 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@ type OrdersResp struct {
OrderType int `json:"order_type"`
OutTradeNo string `json:"out_trade_no"`
Amount int `json:"amount"`
PayerTotal int `json:"payer_total"`
Desc string `json:"desc"`
Status int `json:"status"`

View File

@ -27,7 +27,6 @@ func NewOrdersResp(db *ordersmodel.Orders) *api.OrdersResp {
Status: db.Status,
OrderType: db.OrderType,
Amount: db.Amount,
PayerTotal: db.PayerTotal,
Desc: db.Desc,
CreateTime: db.CreateTime.Format("2006-01-02 15:04:05"),
}

View File

@ -151,7 +151,6 @@ func (o *OrderNotify) updateOrder() {
return
}
o.order.Status = o.Status
o.order.PayerTotal = o.ActualAmount
o.Code = services.OrderUpdate(o.order, "status")
return
}