正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -550,6 +550,9 @@ if (!function_exists('str_replace_url')) { | @@ -550,6 +550,9 @@ if (!function_exists('str_replace_url')) { | ||
| 550 | */ | 550 | */ |
| 551 | function str_replace_url($url) | 551 | function str_replace_url($url) |
| 552 | { | 552 | { |
| 553 | + if(!empty($url)){ | ||
| 554 | + return ''; | ||
| 555 | + } | ||
| 553 | $cos = config('filesystems.disks.cos'); | 556 | $cos = config('filesystems.disks.cos'); |
| 554 | $cosCdn = $cos['cdn']; | 557 | $cosCdn = $cos['cdn']; |
| 555 | if($url && strpos($url,$cosCdn) !== false){ | 558 | if($url && strpos($url,$cosCdn) !== false){ |
-
请 注册 或 登录 后发表评论