新增订单轮询

This commit is contained in:
qiyunfanbo126.com 2024-09-04 11:52:29 +08:00
parent b04e028d22
commit c6116bf205
1 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,10 @@ func OrderState(c *gin.Context) {
}
if has {
orderQueryResponse.Id = order.Id
if order.VoucherLink != "" {
order.VoucherLink = string(encrypt.AesDecryptCBC(order.VoucherLink, []byte(config.GetConf().OpenApiMarketConfig.SecretKey)))
}
orderQueryResponse.State = order.State
controllers.Success(c, orderQueryResponse, "请求成功")
} else {