Browse Source

feat:食堂图片大小限制

lizhi 2 months ago
parent
commit
54ce51cd50
1 changed files with 0 additions and 1 deletions
  1. 0 1
      protected/controllers/CommonController.php

+ 0 - 1
protected/controllers/CommonController.php

@@ -184,7 +184,6 @@ class CommonController extends Controller
         } else {
             Helper::error('上传有误');
         }
-        \CVarDumper::dump($upArr, 6, 1);die;
         $type = strtolower($upArr['type']);
         if (!Helper::hasAnyString($type, ['png', 'jpeg', 'jpg'])) {
             Helper::error('图片格式不正确 ' . $type);