diff --git a/Application/Admin/Controller/FileController.class.php b/Application/Admin/Controller/FileController.class.php index a9db7bd78..7cd937647 100644 --- a/Application/Admin/Controller/FileController.class.php +++ b/Application/Admin/Controller/FileController.class.php @@ -204,8 +204,8 @@ class FileController extends AdminController $pic_driver = C('PICTURE_UPLOAD_DRIVER'); if (I('icon')) { - if ($_FILES['file']['size'] > 51200) { - $return = array('status' => 1001, 'info' => '图片大小不得超过50k', 'data' => ''); + if ($_FILES['file']['size'] > 2097152) { + $return = array('status' => 1001, 'info' => '图片大小不得超过2M', 'data' => ''); $this->ajaxReturn($return); } } diff --git a/Application/Admin/View/Game/edit.html b/Application/Admin/View/Game/edit.html index ee9a72c58..7f9020a69 100644 --- a/Application/Admin/View/Game/edit.html +++ b/Application/Admin/View/Game/edit.html @@ -316,7 +316,7 @@ - 尺寸不得小于125*125px,大小不得超过50K + 尺寸不得小于512*512px,圆角半径113px,不强制要求,可直接提供512*512方图