增加价格排序
This commit is contained in:
parent
0e65a8a02d
commit
a0b817d701
|
@ -174,11 +174,11 @@ func OrderRefundService(userId int, orderId int) (code int) {
|
||||||
if response.RefundOrderSta != "03" {
|
if response.RefundOrderSta != "03" {
|
||||||
return errorcode.OrderRefundFail
|
return errorcode.OrderRefundFail
|
||||||
} else {
|
} else {
|
||||||
order.State = common.ORDER_STATUS_ReFUNDING
|
order.State = common.ORDER_STATUS_ReFUNDEND
|
||||||
order.RefundOrderNo = response.RefundOrderNo
|
order.RefundOrderNo = response.RefundOrderNo
|
||||||
order.RefundOrderSta = response.RefundOrderSta
|
order.RefundOrderSta = response.RefundOrderSta
|
||||||
order.RefundTime = time.Now()
|
order.RefundTime = time.Now()
|
||||||
_, err := ordersmodel.GetInstance().GetDb().Update(order)
|
_, err := ordersmodel.GetInstance().GetDb().Where("id = ?", order.Id).Update(order)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errorcode.OrderRefundUpdateFail
|
return errorcode.OrderRefundUpdateFail
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue