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