rabin 4 years ago
parent
commit
5c2b8893e8
2 changed files with 3 additions and 1 deletions
  1. 2 0
      database/wechat.php
  2. 1 1
      lib/Base.php

+ 2 - 0
database/wechat.php

@@ -39,6 +39,7 @@ return array
 			'match' 	=> 'is_numeric',
 			//'option' 	=> $level,
 			//'update'	=> 'select',
+			'search'	=> 'fulltext',
 			'list'		=> true,
 		),
 
@@ -51,6 +52,7 @@ return array
 			'match' 	=> 'is_numeric',
 			//'option' 	=> $level,
 			//'update'	=> 'select',
+			'search'	=> 'fulltext',
 			'list'		=> true,
 		),
 

+ 1 - 1
lib/Base.php

@@ -9,7 +9,7 @@ use Dever\String\Encrypt;
 
 class Base
 {
-    const NAME = 'passportv5';
+    const NAME = 'passportv6';
 
     const CODE = 'code';