优化
@ -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 {