作者 lyh

gx

@@ -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 }