正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -470,12 +470,12 @@ if (!function_exists('getFileUrl')) { | @@ -470,12 +470,12 @@ if (!function_exists('getFileUrl')) { | ||
| 470 | if($info['is_cos'] == 1){ | 470 | if($info['is_cos'] == 1){ |
| 471 | $cos = config('filesystems.disks.cos'); | 471 | $cos = config('filesystems.disks.cos'); |
| 472 | $cosCdn = $cos['cdn']; | 472 | $cosCdn = $cos['cdn']; |
| 473 | - $url = $cosCdn.'/upload'.$info['path']; | 473 | + $url = $cosCdn.$info['path']; |
| 474 | }else{ | 474 | }else{ |
| 475 | - $url = url('upload'.$info['path']); | 475 | + $url = url($info['path']); |
| 476 | } | 476 | } |
| 477 | }else{ | 477 | }else{ |
| 478 | - $url = url($info['path']); | 478 | + $url = $hash; |
| 479 | } | 479 | } |
| 480 | } | 480 | } |
| 481 | return $url; | 481 | return $url; |
-
请 注册 或 登录 后发表评论