rabin 8 months ago
parent
commit
6cce8d1ef8
2 changed files with 4 additions and 5 deletions
  1. 2 0
      config/manage.php
  2. 2 5
      config/setting.php

+ 2 - 0
config/manage.php

@@ -96,6 +96,7 @@ return array
             'app' => 'sector',
         ),
 
+        /*
         # 平台的父级菜单
         'channel' => array
         (
@@ -105,5 +106,6 @@ return array
             'module' => 'platform',
             'app' => 'sector',
         ),
+        */
     )
 );

+ 2 - 5
config/setting.php

@@ -8,13 +8,10 @@ return array
     'lang_pack' => array('zh-cn' => '简体中文', 'en' => '英文'),
 
     # 路由解析设置
-    'route' => false,
-    /*
     'route' => array
     (
-        'test' => 'home',
-        'v(.*?)_(.*?)' => 'src/home.test?type=$1&id=$2',
-    ),*/
+        'api/notify/(.*?)' => 'notify.common?s=$1',
+    ),
 
     # 日志设置
     'log' => array('type' => 'file', 'host' => 'host', 'port' => 'port'),