dever 4 年之前
父節點
當前提交
8cba46eb17
共有 1 個文件被更改,包括 13 次插入2 次删除
  1. 13 2
      database/user.php

+ 13 - 2
database/user.php

@@ -158,6 +158,17 @@ return array
 			'edit'		=> true,
 		),
 
+		'title'		=> array
+		(
+			'type' 		=> 'varchar-800',
+			'name' 		=> '头衔',
+			'default' 	=> '',
+			'desc' 		=> '请输入头衔',
+			'match' 	=> 'option',
+			'update'	=> 'text',
+			'search'	=> 'fulltext',
+		),
+
 		'mobile'		=> array
 		(
 			'type' 		=> 'varchar-32',
@@ -379,7 +390,7 @@ return array
 			'default' 	=> '',
 			'desc' 		=> '请输入介绍',
 			'match' 	=> 'option',
-			'update'	=> 'editor',
+			'update'	=> 'textarea',
 		),
 
 		'score'		=> array
@@ -575,7 +586,7 @@ return array
 				'id' => 'yes',
 			),
 			'type' => 'one',
-			'col' => 'id,username,avatar,sex,truename,area,mobile,area_id,address,address_contact,address_mobile,info',
+			'col' => 'id,username,avatar,sex,truename,area,mobile,area_id,address,address_contact,address_mobile,info,title',
 		),
 	),
 );