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