mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
格式化的资源拼接域名
This commit is contained in:
@@ -79,7 +79,7 @@ function get_source_link($url)
|
||||
$url = '/static/images/avatar.png';
|
||||
}
|
||||
if (strpos($url, '/') === 0) {
|
||||
return $url;
|
||||
return request()->domain() . $url;
|
||||
}
|
||||
if (strpos($url, 'http') === 0) {
|
||||
return $url;
|
||||
|
||||
Reference in New Issue
Block a user