dever 3 years ago
parent
commit
7d1220fc98
1 changed files with 10 additions and 10 deletions
  1. 10 10
      learn/active/database/user.php

+ 10 - 10
learn/active/database/user.php

@@ -50,7 +50,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '名称',
             'desc'      => '名称',
             'match'     => 'is_string',
             'match'     => 'is_string',
-            'update'    => 'text',
+            //'update'    => 'text',
             'search'    => 'fulltext',
             'search'    => 'fulltext',
             'list'      => true,
             'list'      => true,
         ),
         ),
@@ -62,7 +62,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '请输入手机号',
             'desc'      => '请输入手机号',
             'match'     => Dever::rule('mobile'),
             'match'     => Dever::rule('mobile'),
-            'update'    => 'text',
+            //'update'    => 'text',
             //'search'    => 'fulltext',
             //'search'    => 'fulltext',
             'list'      => true,
             'list'      => true,
         ),
         ),
@@ -74,7 +74,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '身份证号码',
             'desc'      => '身份证号码',
             'match'     => Dever::rule('idcard'),
             'match'     => Dever::rule('idcard'),
-            'update'    => 'text',
+           // 'update'    => 'text',
         ),
         ),
 
 
         'username'      => array
         'username'      => array
@@ -84,7 +84,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '昵称',
             'desc'      => '昵称',
             'match'     => 'is_string',
             'match'     => 'is_string',
-            'update'    => 'text',
+            //'update'    => 'text',
             'search'    => 'fulltext',
             'search'    => 'fulltext',
             'list'      => true,
             'list'      => true,
         ),
         ),
@@ -96,7 +96,7 @@ return array
             'default'   => '',
             'default'   => '',
             'match'     => 'option',
             'match'     => 'option',
             'desc'      => '生日',
             'desc'      => '生日',
-            'update'    => 'time',
+            //'update'    => 'time',
             'callback'  => 'maketime',
             'callback'  => 'maketime',
         ),
         ),
 
 
@@ -119,7 +119,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => 'pwd',
             'desc'      => 'pwd',
             'match'     => 'is_string',
             'match'     => 'is_string',
-            'update'    => 'text',
+            //'update'    => 'text',
         ),
         ),
 
 
         'old_salt'      => array
         'old_salt'      => array
@@ -129,7 +129,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => 'salt',
             'desc'      => 'salt',
             'match'     => 'is_string',
             'match'     => 'is_string',
-            'update'    => 'text',
+            //'update'    => 'text',
         ),
         ),
 
 
         'avatar'        => array
         'avatar'        => array
@@ -139,7 +139,7 @@ return array
             'default'   => '',
             'default'   => '',
             'desc'      => '请选择头像',
             'desc'      => '请选择头像',
             'match'     => 'option',
             'match'     => 'option',
-            'update'    => 'image',
+            //'update'    => 'image',
             'key'       => '1',
             'key'       => '1',
             //'place'       => '150',
             //'place'       => '150',
         ),
         ),
@@ -151,7 +151,7 @@ return array
             'default'   => '1',
             'default'   => '1',
             'desc'      => '请输入排序',
             'desc'      => '请输入排序',
             'match'     => 'option',
             'match'     => 'option',
-            'update'  => 'text',
+            //'update'  => 'text',
             'search'    => 'order',
             'search'    => 'order',
             'list'      => true,
             'list'      => true,
             'order'     => 'desc',
             'order'     => 'desc',
@@ -183,7 +183,7 @@ return array
     (
     (
     	'insert' => false,
     	'insert' => false,
         'delete' => false,
         'delete' => false,
-        'edit' => false,
+        //'edit' => false,
   //       'list_button' => array
   //       'list_button' => array
 		// (
 		// (
 		// 	'list1' => array('属性值设置', '"info_field_value&project=active&search_option_field_id={id}&oper_table=info_field&oper_project=active&top_table=info&search_option_actives_id={actives_id}"' , '{type} > 1'),
 		// 	'list1' => array('属性值设置', '"info_field_value&project=active&search_option_field_id={id}&oper_table=info_field&oper_project=active&top_table=info&search_option_actives_id={actives_id}"' , '{type} > 1'),