...
|
...
|
@@ -309,7 +309,7 @@ class AdminExcelDataController extends AdminBaseController |
|
|
//获取文件后缀
|
|
|
public function getFileSuffix($image_url){
|
|
|
//判断文件真实类型
|
|
|
// $image_url = $image_url.'?imageslim';
|
|
|
$image_url = $image_url.'?imageslim';
|
|
|
$suffix = getimagesize($image_url);
|
|
|
if($suffix['mime'] == 'image/png'){
|
|
|
//png
|
...
|
...
|
|