订单回调对接完成

This commit is contained in:
wuchao 2024-07-03 18:32:26 +08:00
parent b153634a18
commit ace4b715a9
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
Stock, _ := strconv.Atoi(productDetail.Stock) Stock, _ := strconv.Atoi(productDetail.Stock)
productDetail.Stock = strconv.Itoa(Stock - 1) productDetail.Stock = strconv.Itoa(Stock - 1)
} }
} else { } else {
//order.RefundOrderNo = YouChuOrderNotifyRequest.OrgTxnSeq //order.RefundOrderNo = YouChuOrderNotifyRequest.OrgTxnSeq
//order.RefundOrderSta = YouChuOrderNotifyRequest.OrderSta //order.RefundOrderSta = YouChuOrderNotifyRequest.OrderSta