Commit e073bc64 authored by christ's avatar christ

share

parent 94e3994e
......@@ -139,7 +139,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