作者 lyh

gx

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