master
ELF 4 years ago
parent e063398fc5
commit a771388c2e

@ -204,8 +204,8 @@ class FileController extends AdminController
$pic_driver = C('PICTURE_UPLOAD_DRIVER'); $pic_driver = C('PICTURE_UPLOAD_DRIVER');
if (I('icon')) { if (I('icon')) {
if ($_FILES['file']['size'] > 51200) { if ($_FILES['file']['size'] > 2097152) {
$return = array('status' => 1001, 'info' => '图片大小不得超过50k', 'data' => ''); $return = array('status' => 1001, 'info' => '图片大小不得超过2M', 'data' => '');
$this->ajaxReturn($return); $this->ajaxReturn($return);
} }
} }

@ -316,7 +316,7 @@
</div> </div>
</div> </div>
</span> </span>
<span class="notice-text">尺寸不得小于125*125px大小不得超过50K</span> <span class="notice-text">尺寸不得小于512*512px圆角半径113px不强制要求可直接提供512*512方图</span>
</td> </td>
</tr> </tr>
<tr class="picbox"> <tr class="picbox">

Loading…
Cancel
Save