正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -78,7 +78,7 @@ class ImageController extends Controller | @@ -78,7 +78,7 @@ class ImageController extends Controller | ||
| 78 | $this->response('指定图片不存在!', Code::USER_ERROR); | 78 | $this->response('指定图片不存在!', Code::USER_ERROR); |
| 79 | } | 79 | } |
| 80 | //获取cos链接 | 80 | //获取cos链接 |
| 81 | - if($info['cos'] == 1){ | 81 | + if($info['is_cos'] == 1){ |
| 82 | $cos = new CosService(); | 82 | $cos = new CosService(); |
| 83 | return $cos->getImageUrl($info['path']); | 83 | return $cos->getImageUrl($info['path']); |
| 84 | } | 84 | } |
-
请 注册 或 登录 后发表评论