dever %!s(int64=6) %!d(string=hai) anos
pai
achega
197106c522
Modificáronse 1 ficheiros con 10 adicións e 3 borrados
  1. 10 3
      database/role.php

+ 10 - 3
database/role.php

@@ -121,6 +121,13 @@ $config = array
 			'search'	=> 'order',
 			'list'		=> true,
 		),
+
+		'hr0'		=> array
+		(
+			'name' 		=> '基本设置',
+			'class'		=> '',//本项必须填写
+			'attr'		=> '',
+		),
 		
 		'name'		=> array
 		(
@@ -166,7 +173,7 @@ $config = array
 		(
 			'type' 		=> 'varchar-30',
 			'name' 		=> '数据查询时影响的字段-该项影响数据查询,如果在表中增加该字段,则后台在查询数据时自动查询当前管理员的id下的数据,多个用逗号隔开,与[是否只能管理自己发布的内容]相关',
-			'default' 	=> '',
+			'default' 	=> 'admin_founder',
 			'desc' 		=> '数据更新时影响的字段',
 			'match' 	=> 'option',
 			'update'	=> 'text',
@@ -177,7 +184,7 @@ $config = array
 		(
 			'type' 		=> 'varchar-30',
 			'name' 		=> '数据插入时影响的字段-该项影响数据插入,如果在表中增加该字段,则后台操作时自动为该字段赋值为当前管理员的id,多个用逗号隔开',
-			'default' 	=> '',
+			'default' 	=> 'admin_founder',
 			'desc' 		=> '数据插入时影响的字段',
 			'match' 	=> 'option',
 			'update'	=> 'text',
@@ -188,7 +195,7 @@ $config = array
 		(
 			'type' 		=> 'varchar-30',
 			'name' 		=> '数据更新时影响的字段-该项影响数据更新,如果在表中增加该字段,则后台操作时自动为该字段赋值为当前管理员的id,多个用逗号隔开',
-			'default' 	=> '',
+			'default' 	=> 'admin_editor',
 			'desc' 		=> '数据更新时影响的字段',
 			'match' 	=> 'option',
 			'update'	=> 'text',