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