Commit a5fbde4a authored by christ's avatar christ

share

parent 4b0917a6
......@@ -201,7 +201,6 @@ class ShareServiceModel extends \Business\AbstractModel
$saveImageName=ImageUtil::getFileName().\Our\NameConst::jpgSuffix;
$saveFile=$savePath.$saveImageName;
$shell = \Our\Common::format("{0} --crop-w 750 --width 750 {1} {2}",$command,$convertUrl,$saveFile);
echo $shell;exit;
system($shell, $status);
if( $status ){
\Error\ErrorModel::throwException(\Error\CodeConfigModel::shareGrowImageError);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment