作者 lyh

gx

@@ -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){