diff --git a/app/services/OrderService.go b/app/services/OrderService.go index 504e4de..d6e6363 100644 --- a/app/services/OrderService.go +++ b/app/services/OrderService.go @@ -226,6 +226,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN Stock, _ := strconv.Atoi(productDetail.Stock) productDetail.Stock = strconv.Itoa(Stock - 1) } + } else { //order.RefundOrderNo = YouChuOrderNotifyRequest.OrgTxnSeq //order.RefundOrderSta = YouChuOrderNotifyRequest.OrderSta