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