|
@@ -15,6 +15,14 @@ $level = array
|
|
|
10 => '管理员',
|
|
|
);
|
|
|
|
|
|
+$sex = array
|
|
|
+(
|
|
|
+ 1 => '男',
|
|
|
+ 2 => '女',
|
|
|
+ 3 => '未知',
|
|
|
+);
|
|
|
+
|
|
|
+
|
|
|
$weixin = array
|
|
|
(
|
|
|
1 => '已关注',
|
|
@@ -54,18 +62,6 @@ return array
|
|
|
'search' => 'order',
|
|
|
'list' => true,
|
|
|
),
|
|
|
-
|
|
|
- 'email' => array
|
|
|
- (
|
|
|
- 'type' => 'varchar-150',
|
|
|
- 'name' => '邮箱',
|
|
|
- 'default' => '',
|
|
|
- 'desc' => '请输入邮箱',
|
|
|
- 'match' => $email,
|
|
|
- 'update' => 'text',
|
|
|
- 'search' => 'fulltext',
|
|
|
- 'list' => true,
|
|
|
- ),
|
|
|
|
|
|
'username' => array
|
|
|
(
|
|
@@ -90,6 +86,18 @@ return array
|
|
|
'search' => 'fulltext',
|
|
|
'list' => true,
|
|
|
),
|
|
|
+
|
|
|
+ 'email' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-150',
|
|
|
+ 'name' => '邮箱',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入邮箱',
|
|
|
+ 'match' => $email,
|
|
|
+ 'update' => 'text',
|
|
|
+ 'search' => 'fulltext',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
|
|
|
'password' => array
|
|
|
(
|
|
@@ -124,6 +132,18 @@ return array
|
|
|
'update' => 'editor',
|
|
|
),
|
|
|
|
|
|
+ 'sex' => array
|
|
|
+ (
|
|
|
+ 'type' => 'tinyint-1',
|
|
|
+ 'name' => '用户性别',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '用户性别',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'option' => $sex,
|
|
|
+ 'update' => 'radio',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
'level' => array
|
|
|
(
|
|
|
'type' => 'tinyint-1',
|
|
@@ -146,15 +166,6 @@ return array
|
|
|
//'list' => 'date("Y-m-d H:i:s", {login_date})',
|
|
|
),
|
|
|
|
|
|
- 'reg_date' => array
|
|
|
- (
|
|
|
- 'type' => 'int-11',
|
|
|
- 'name' => '注册时间',
|
|
|
- 'match' => array('is_numeric', time()),
|
|
|
- 'desc' => '',
|
|
|
- 'default' => '0',
|
|
|
- ),
|
|
|
-
|
|
|
'bind' => array
|
|
|
(
|
|
|
'type' => 'tinyint-1',
|