订单详情增加notifyurl

This commit is contained in:
qiyunfanbo126.com 2024-07-22 09:10:28 +08:00
parent 4f2b3d63e1
commit fd9b3e66ee
1 changed files with 1 additions and 1 deletions

View File

@ -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()