dever 3 سال پیش
والد
کامیت
fcc076e624
2فایلهای تغییر یافته به همراه9 افزوده شده و 8 حذف شده
  1. 8 8
      service/option/database/account.php
  2. 1 0
      service/option/lib/Account.php

+ 8 - 8
service/option/database/account.php

@@ -43,7 +43,7 @@ $is_idcard = array
 
 $col = Dever::input('col');
 
-$type = Dever::input('option_search_type');
+$search_type = Dever::input('option_search_type');
 
 return array
 (
@@ -160,7 +160,7 @@ return array
             'match'     => 'is_numeric',
             'option'    => $is_idcard,
             //'update'    => 'radio',
-            'list'      => $type ? false : true,
+            'list'      => $search_type ? false : true,
             'list_order' => 3,
         ),
 
@@ -173,7 +173,7 @@ return array
             'match'     => Dever::rule('idcard'),
             'match'     => 'is_string',
             'update'    => 'text',
-            'list'      => $type ? 'Dever::load("option/lib/account.getCash#daijiaofu", {id})' : false,
+            'list'      => $search_type ? 'Dever::load("option/lib/account.getCash#daijiaofu", {id})' : false,
             'list_name' => '待交付',
             'list_order' => 4,
         ),
@@ -188,7 +188,7 @@ return array
             'update'    => 'image',
             'key'       => '8',
             //'place'     => '660*660',
-            'list'      => $type ? 'Dever::load("option/lib/account.getCash#qiquan", {id})' : false,
+            'list'      => $search_type ? 'Dever::load("option/lib/account.getCash#qiquan", {id})' : false,
             'list_name' => '期权',
             'list_order' => 5,
         ),
@@ -203,7 +203,7 @@ return array
             'update'    => 'image',
             'key'       => '8',
             //'place'     => '660*660',
-            'list'      => $type ? 'Dever::load("option/lib/account.getCash#yuanshiqiquan", {id})' : false,
+            'list'      => $search_type ? 'Dever::load("option/lib/account.getCash#yuanshiqiquan", {id})' : false,
             'list_name' => '原始期权',
             'list_order' => 6,
         ),
@@ -222,7 +222,7 @@ return array
         'audit'        => array
         (
             'type'      => 'tinyint-1',
-            'name'      => $type ? '账户认证' : '审核状况',
+            'name'      => $search_type ? '账户认证' : '审核状况',
             'default'   => $col ? '3' : '1',
             'desc'      => '审核状况',
             'match'     => 'is_numeric',
@@ -230,7 +230,7 @@ return array
             'search'    => 'select',
             'update'    => $col ? 'radio' : false,
             'list'      => 'Dever::load("option/lib/account.getAudit", {id})',
-            'list_order' => $type ? 3 : 5,
+            'list_order' => $search_type ? 3 : 5,
             'value'     => $col ? '3' : '1',
             'control'   => 'audit',
         ),
@@ -263,7 +263,7 @@ return array
             'match'     => 'is_numeric',
             'option'    => $status,
             //'search'    => 'select',
-            'list'      => $type ? true : false,
+            'list'      => $search_type ? true : false,
             'list_order' => 100,
         ),
 

+ 1 - 0
service/option/lib/Account.php

@@ -228,6 +228,7 @@ class Account
         if ($account['email']) {
             $account['email'] .= '('.$config['is_email'][$account['is_email']].')';
         }
+        
         $result = array
         (
             'type' => 'info',