正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论