|
|
@ -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');
|
|
|
|