浏览代码

优化接口

liuhairui 1 年之前
父节点
当前提交
1e08d27555
共有 1 个文件被更改,包括 42 次插入38 次删除
  1. 42 38
      application/extra/site.php

+ 42 - 38
application/extra/site.php

@@ -1,40 +1,44 @@
 <?php
 
-return [
-    'name' => '我的网站',
-    'beian' => '',
-    'cdnurl' => '',
-    'version' => '1.0.1',
-    'timezone' => 'Asia/Shanghai',
-    'forbiddenip' => '',
-    'languages' => [
-        'backend' => 'zh-cn',
-        'frontend' => 'zh-cn',
-    ],
-    'fixedpage' => 'dashboard',
-    'categorytype' => [
-        'default' => 'Default',
-        'page' => 'Page',
-        'article' => 'Article',
-        'test' => 'Test',
-    ],
-    'configgroup' => [
-        'basic' => 'Basic',
-        'email' => 'Email',
-        'dictionary' => 'Dictionary',
-        'user' => 'User',
-        'example' => 'Example',
-    ],
-    'attachmentcategory' => [
-        'category1' => 'Category1',
-        'category2' => 'Category2',
-        'custom' => 'Custom',
-    ],
-    'mail_type' => '1',
-    'mail_smtp_host' => 'smtp.qq.com',
-    'mail_smtp_port' => '465',
-    'mail_smtp_user' => '10000',
-    'mail_smtp_pass' => 'password',
-    'mail_verify_type' => '2',
-    'mail_from' => '10000@qq.com',
-];
+return array (
+  'name' => '达成WMS管理系统',
+  'beian' => '',
+  'cdnurl' => '',
+  'version' => '1.0.1',
+  'timezone' => 'Asia/Shanghai',
+  'forbiddenip' => '',
+  'languages' => 
+  array (
+    'backend' => 'zh-cn',
+    'frontend' => 'zh-cn',
+  ),
+  'fixedpage' => 'dashboard',
+  'categorytype' => 
+  array (
+    'default' => 'Default',
+    'page' => 'Page',
+    'article' => 'Article',
+    'test' => 'Test',
+  ),
+  'configgroup' => 
+  array (
+    'basic' => 'Basic',
+    'email' => 'Email',
+    'dictionary' => 'Dictionary',
+    'user' => 'User',
+    'example' => 'Example',
+  ),
+  'mail_type' => '1',
+  'mail_smtp_host' => 'smtp.qq.com',
+  'mail_smtp_port' => '465',
+  'mail_smtp_user' => '',
+  'mail_smtp_pass' => '',
+  'mail_verify_type' => '2',
+  'mail_from' => '',
+  'attachmentcategory' => 
+  array (
+    'category1' => 'Category1',
+    'category2' => 'Category2',
+    'custom' => 'Custom',
+  ),
+);