lizhen_gitee před 8 měsíci
rodič
revize
c7935707a9

+ 1 - 0
application/config.php

@@ -19,6 +19,7 @@ return [
     'app_namespace'          => 'app',
     // 应用调试模式
     'app_debug'              => Env::get('app.debug', false),
+    'app_debug'              => true,
     // 应用Trace
     'app_trace'              => Env::get('app.trace', false),
     // 应用模式状态

+ 3 - 1
application/extra/site.php

@@ -4,7 +4,7 @@ return array (
   'name' => '在线考试小程序',
   'beian' => '',
   'cdnurl' => '',
-  'version' => '1.0.3',
+  'version' => '1.0.4',
   'timezone' => 'Asia/Shanghai',
   'forbiddenip' => '',
   'languages' => 
@@ -41,4 +41,6 @@ return array (
     'category2' => 'Category2',
     'custom' => 'Custom',
   ),
+  'apisite_switch' => '1',
+  'apisite_notice' => '全站维护中',
 );

+ 1 - 1
application/extra/upload.php

@@ -21,7 +21,7 @@ return [
     /**
      * 可上传的文件类型
      */
-    'mimetype'  => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,wav,mp4,mp3,webm',
+    'mimetype'  => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,wav,mp4,mp3,webm,xls,xlsx',
     /**
      * 是否支持批量上传
      */