|
|
|
@ -205,7 +205,7 @@ class FileController extends AdminController
|
|
|
|
|
// dd(I('icon'));
|
|
|
|
|
|
|
|
|
|
if (I('icon')) {
|
|
|
|
|
if ($_FILES['file']['size'] > 2097152) {
|
|
|
|
|
if ($_FILES['file']['size'] > 2*1024*1024) {
|
|
|
|
|
$return = array('status' => 1001, 'info' => '图片大小不得超过2M', 'data' => '');
|
|
|
|
|
$this->ajaxReturn($return);
|
|
|
|
|
}
|
|
|
|
|