...
|
...
|
@@ -264,7 +264,8 @@ class OrderSalesmanController extends WeChatBaseController |
|
|
$width = $new_img->width();
|
|
|
$height = $new_img->height();
|
|
|
$new_img->thumb($width,$height - intval($top) * 2,5);
|
|
|
$new_img->save('./upload/'.$img_url);
|
|
|
$new_img->thumb($width/2,($height - intval($top) * 2)/2);
|
|
|
$new_img->save('./upload/'.$img_url,'jpg',100);
|
|
|
$this->success('成功','',cmf_get_asset_url($img_url));
|
|
|
}
|
|
|
}
|
...
|
...
|
|