Compare commits
No commits in common. "2d4d6741457458edcbb3a7108f0743aa8acba350" and "d979b7a966374bbd661fd4dc81e52a25bc3555b5" have entirely different histories.
2d4d674145
...
d979b7a966
|
@ -73,7 +73,6 @@ type OrdersResponse struct {
|
||||||
Status int `json:"status"`
|
Status int `json:"status"`
|
||||||
OrderType int `json:"order_type"`
|
OrderType int `json:"order_type"`
|
||||||
Amount int `json:"amount"`
|
Amount int `json:"amount"`
|
||||||
PayerTotal int `json:"payer_total"`
|
|
||||||
ExtJson string `json:"ext_json"`
|
ExtJson string `json:"ext_json"`
|
||||||
CreateTime string `json:"create_time"`
|
CreateTime string `json:"create_time"`
|
||||||
UpdateTime string `json:"update_time"`
|
UpdateTime string `json:"update_time"`
|
||||||
|
@ -91,7 +90,6 @@ func (o *OrdersResponse) ResponseFromDb(db ordersmodel.OrdersBackendList) {
|
||||||
o.Status = db.Status
|
o.Status = db.Status
|
||||||
o.OrderType = db.OrderType
|
o.OrderType = db.OrderType
|
||||||
o.Amount = db.Amount
|
o.Amount = db.Amount
|
||||||
o.PayerTotal = db.PayerTotal
|
|
||||||
o.ExtJson = db.ExtJson
|
o.ExtJson = db.ExtJson
|
||||||
o.CreateTime = db.CreateTime.Format("2006-01-02 15:04:05")
|
o.CreateTime = db.CreateTime.Format("2006-01-02 15:04:05")
|
||||||
o.UpdateTime = db.UpdateTime.Format("2006-01-02 15:04:05")
|
o.UpdateTime = db.UpdateTime.Format("2006-01-02 15:04:05")
|
||||||
|
|
|
@ -20,7 +20,6 @@ type Orders struct {
|
||||||
OutTreadNo string `xorm:"'out_tread_no' varchar(50)"`
|
OutTreadNo string `xorm:"'out_tread_no' varchar(50)"`
|
||||||
OrderType int `xorm:"'order_type' TINYINT"`
|
OrderType int `xorm:"'order_type' TINYINT"`
|
||||||
Amount int `xorm:"'amount' int(11)"`
|
Amount int `xorm:"'amount' int(11)"`
|
||||||
PayerTotal int `xorm:"'payer_total' int(11)"`
|
|
||||||
ExtJson string `xorm:"'ext_json' varchar(1024)"`
|
ExtJson string `xorm:"'ext_json' varchar(1024)"`
|
||||||
CreateTime time.Time `xorm:"'create_time' datetime created"`
|
CreateTime time.Time `xorm:"'create_time' datetime created"`
|
||||||
UpdateTime time.Time `xorm:"'update_time' timestamp updated"`
|
UpdateTime time.Time `xorm:"'update_time' timestamp updated"`
|
||||||
|
|
Loading…
Reference in New Issue