From 6da122550c20506e2480c0ce2ec76e9135773892 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 18 Sep 2020 15:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/ApplyService.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Base/Service/ApplyService.class.php b/Application/Base/Service/ApplyService.class.php index 8d43022c8..eda474d25 100644 --- a/Application/Base/Service/ApplyService.class.php +++ b/Application/Base/Service/ApplyService.class.php @@ -96,6 +96,9 @@ class ApplyService { public function getDownloadDomain() { if (C('APP_ENV') == 'prod') { + if (empty(C('DOMAIN_DOWNLOAD_PROD'))) { + return C('DOMAIN_DOWNLOAD'); + } return C('DOMAIN_DOWNLOAD_PROD'); } else { return C('DOMAIN_DOWNLOAD');