Merge branch 'hotfix/download_domain_fix' of wmtx/platform into release

优化
master
廖金灵 4 years ago committed by Gogs
commit ba84d29b16

@ -96,6 +96,9 @@ class ApplyService {
public function getDownloadDomain() public function getDownloadDomain()
{ {
if (C('APP_ENV') == 'prod') { if (C('APP_ENV') == 'prod') {
if (empty(C('DOMAIN_DOWNLOAD_PROD'))) {
return C('DOMAIN_DOWNLOAD');
}
return C('DOMAIN_DOWNLOAD_PROD'); return C('DOMAIN_DOWNLOAD_PROD');
} else { } else {
return C('DOMAIN_DOWNLOAD'); return C('DOMAIN_DOWNLOAD');

Loading…
Cancel
Save