新增订单轮询
This commit is contained in:
parent
b04e028d22
commit
c6116bf205
|
@ -91,7 +91,10 @@ func OrderState(c *gin.Context) {
|
||||||
}
|
}
|
||||||
if has {
|
if has {
|
||||||
orderQueryResponse.Id = order.Id
|
orderQueryResponse.Id = order.Id
|
||||||
|
if order.VoucherLink != "" {
|
||||||
order.VoucherLink = string(encrypt.AesDecryptCBC(order.VoucherLink, []byte(config.GetConf().OpenApiMarketConfig.SecretKey)))
|
order.VoucherLink = string(encrypt.AesDecryptCBC(order.VoucherLink, []byte(config.GetConf().OpenApiMarketConfig.SecretKey)))
|
||||||
|
}
|
||||||
|
|
||||||
orderQueryResponse.State = order.State
|
orderQueryResponse.State = order.State
|
||||||
controllers.Success(c, orderQueryResponse, "请求成功")
|
controllers.Success(c, orderQueryResponse, "请求成功")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue