Commit acec390fac4e09aaf589908535a87b628938ceb2

Authored by pengye
1 parent 140a15fb

no message

... ... @@ -191,8 +191,8 @@ class UpFiles extends Common
$uploadMgr = new UploadManager();
$backUrl = "http://nosqn.colorcun.com"; //返回图片在七牛的路径
//压缩处理
//$image = new Compression($imgPath);
//$imgPath = $image->getThumb();
$image = new Compression($imgPath);
$imgPath = $image->getThumb();
list($ret, $err) = $uploadMgr->putFile($token,$key,$imgPath);
$rs['url'] = $backUrl."/".$key;
}
... ...