作者 李宇航

合并分支 'master-server' 到 'master'

gx脚本



查看合并请求 !1255
@@ -639,9 +639,9 @@ if (!function_exists('getImageUrl')) { @@ -639,9 +639,9 @@ if (!function_exists('getImageUrl')) {
639 return 'https:'.$path; 639 return 'https:'.$path;
640 } 640 }
641 if($location == 0){ 641 if($location == 0){
642 -// $cos = config('filesystems.disks.cos');  
643 -// $cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1'];  
644 - $cosCdn = 'https://file.globalso.com';//TODO::暂时使用 642 + $cos = config('filesystems.disks.cos');
  643 + $cosCdn = ($storage_type == 0) ? $cos['cdn'] : $cos['cdn1'];
  644 +// $cosCdn = 'https://file.globalso.com';//TODO::暂时使用
645 $url = $cosCdn.$path; 645 $url = $cosCdn.$path;
646 }else{ 646 }else{
647 $s3 = config('filesystems.disks.s3'); 647 $s3 = config('filesystems.disks.s3');