增加支付成功时间
This commit is contained in:
parent
07cc1a91df
commit
0f571a3dbe
|
@ -244,6 +244,7 @@ func OrderNotify(request front.YouChuRequest) (NotifyResponse front.YouChuOrderN
|
||||||
} else {
|
} else {
|
||||||
order.State = common.ORDER_STATUS_FINISH
|
order.State = common.ORDER_STATUS_FINISH
|
||||||
order.VoucherLink = send.Data.ShortUrl
|
order.VoucherLink = send.Data.ShortUrl
|
||||||
|
order.ExchangeTime = time.Now()
|
||||||
utils.Log(nil, "nitifydata", send.Data.ShortUrl, "***", send.Data.VoucherId)
|
utils.Log(nil, "nitifydata", send.Data.ShortUrl, "***", send.Data.VoucherId)
|
||||||
//Stock, _ := strconv.Atoi(productDetail.Stock)
|
//Stock, _ := strconv.Atoi(productDetail.Stock)
|
||||||
//productDetail.Stock = strconv.Itoa(Stock - 1)
|
//productDetail.Stock = strconv.Itoa(Stock - 1)
|
||||||
|
|
Loading…
Reference in New Issue