作者 lyh

gx

@@ -72,7 +72,7 @@ class SyncImageFileJob implements ShouldQueue @@ -72,7 +72,7 @@ class SyncImageFileJob implements ShouldQueue
72 if(substr($path,0,2) == '//'){ 72 if(substr($path,0,2) == '//'){
73 return 'https:'.$path; 73 return 'https:'.$path;
74 } 74 }
75 - if($location == 0){ 75 + if($location == 1){
76 $cos = config('filesystems.disks.cos'); 76 $cos = config('filesystems.disks.cos');
77 $cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1']; 77 $cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1'];
78 $url = $cosCdn.$path; 78 $url = $cosCdn.$path;