订单详情增加notifyurl
This commit is contained in:
parent
4f2b3d63e1
commit
fd9b3e66ee
|
@ -254,7 +254,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
|
|||
//order.RefundOrderSta = YouChuOrderNotifyRequest.OrderSta
|
||||
return front.YouChuOrderNotifyResponse{RespCode: "000005", RespMsg: "订单标识错误"}
|
||||
}
|
||||
_, err = session.Cols("stock,state").Where("order_no = ?", YouChuOrderNotifyRequest.ReqTraceId).Update(&order)
|
||||
_, err = session.Cols("stock,state,voucher_link").Where("order_no = ?", YouChuOrderNotifyRequest.ReqTraceId).Update(&order)
|
||||
if err != nil {
|
||||
utils.Log(nil, "OrderNotify-MarketSend", err.Error())
|
||||
_ = session.Rollback()
|
||||
|
|
Loading…
Reference in New Issue