订单回调对接完成
This commit is contained in:
parent
b153634a18
commit
ace4b715a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue