dever 4 years ago
parent
commit
070bfd913d
1 changed files with 7 additions and 7 deletions
  1. 7 7
      config/base.php

+ 7 - 7
config/base.php

@@ -15,15 +15,15 @@ $config['base'] = array
         6 => '活动',
     ),
 
-    # 功能类型
+    # 功能类型 0是表名,1是字段名
     'table_name' => array
     (
-        1 => 'content/creater',
-        2 => 'content/xuniren',
-        3 => 'content/news',
-        4 => 'content/news',
-        5 => 'content/news',
-        6 => 'content/news',
+        1 => array('content/creater', 'creater_id'),
+        2 => array('content/xuniren', 'xuniren_id'),
+        3 => array('content/news', 'news_id'),
+        4 => array('content/news', 'feature_id'),
+        5 => array('content/news', 'vod_id'),
+        6 => array('content/news', 'act_id'),
     ),
 
     'audit' => array