From a9c442e30983e85e766f42aa303017d7172df6d8 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Thu, 5 Sep 2024 16:20:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=A2=E5=8D=95=E8=BD=AE?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/http/entities/front/Order.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/http/entities/front/Order.go b/app/http/entities/front/Order.go index 260a9c7..6e9cabd 100644 --- a/app/http/entities/front/Order.go +++ b/app/http/entities/front/Order.go @@ -51,12 +51,7 @@ func (p *OrderListResponse) ResponseFromDb(l ordersmodel.OrdersProductsList) { p.State = l.State p.NotifyUrl = config.GetConf().YouChu.NotifyUrl if l.VoucherLink != "" { - if config.GetConf().Debug == false { - p.VoucherLink = string(encrypt.AesDecryptCBC(l.VoucherLink, []byte(config.GetConf().OpenApiMarketConfig.SecretKey))) - } else { - p.VoucherLink = "https://22233.cn" - } - + p.VoucherLink = string(encrypt.AesDecryptCBC(l.VoucherLink, []byte(config.GetConf().OpenApiMarketConfig.SecretKey))) } p.CreateTime = l.CreateTime.Format("2006-01-02 15:04:05") return