mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
修改文件访问拼接函数
This commit is contained in:
@@ -62,7 +62,7 @@ function get_source_link($url)
|
||||
$resource_domain = get_system_config('resource_domain');
|
||||
|
||||
if(empty($resource_domain)){
|
||||
$resource_domain = request()->host().':'. request()->port();
|
||||
$resource_domain = request()->host();
|
||||
}
|
||||
return 'http://'.$resource_domain.'/'.$url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user