rabin 3 年之前
父节点
当前提交
014af13a8b
共有 2 个文件被更改,包括 8 次插入6 次删除
  1. 8 5
      service/option/database/account.php
  2. 0 1
      service/option/lib/Account.php

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

@@ -322,11 +322,14 @@ return array
         'up_date'     => array
         (
             'type'      => 'int-11',
-            'name'      => '上传资料的时间',
+            'name'      => '上传时间',
             'default'   => '',
             'match'     => 'is_numeric',
             'order'     => 'desc',
-            'desc'      => '上传资料的时间',
+            'desc'      => '上传时间',
+            'search'    => 'date',
+            'list'      => '"{up_date}" ? date("Y-m-d H:i", {up_date}) : "-"',
+            'list_order' => 2,
         ),
 
         'option-agreement-status'=> array
@@ -401,9 +404,9 @@ return array
             'desc'      => '',
             # 只有insert时才生效
             'insert'    => true,
-            'search'    => 'date',
-            'list'      => 'date("Y-m-d H:i", {cdate})',
-            'list_order' => 2,
+            //'search'    => 'date',
+            //'list'      => 'date("Y-m-d H:i", {cdate})',
+            //'list_order' => 2,
         ),
     ),
 

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

@@ -19,7 +19,6 @@ class Account
             if ($account['idcard_front']) {
                 $account['idcard_front'] = Dever::load('upload/view')->get($account['idcard_front'], 't', 1);
                 $account['idcard_back'] = Dever::load('upload/view')->get($account['idcard_back'], 't', 1);
-                $account['idcard_front'] = Dever::load('upload/view')->get($account['idcard_front'], 't', 1);
                 $table['<img src="'.$account['idcard_front'].'" width="100">'] = '<img src="'.$account['idcard_back'].'" width="100">';
             }
             $html .= Dever::table($table);