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