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