rabin 2 years ago
parent
commit
63ca51ff50
2 changed files with 12 additions and 1 deletions
  1. 11 1
      service/option/database/account.php
  2. 1 0
      service/option/src/My.php

+ 11 - 1
service/option/database/account.php

@@ -216,7 +216,7 @@ return array
             'match'     => 'is_numeric',
             'option'    => $is_idcard,
             'search'    => 'select,order',
-            'order'     => 'asc',
+            //'order'     => 'asc',
             //'update'    => 'radio',
             'list'      => $search_auth == 1 ? 'Dever::load("option/lib/account.getIdcard", {id})' : false,
             'list_order' => 3,
@@ -319,6 +319,16 @@ return array
             'desc'      => '审核时间',
         ),
 
+        'up_date'     => array
+        (
+            'type'      => 'int-11',
+            'name'      => '上传资料的时间',
+            'default'   => '',
+            'match'     => 'is_numeric',
+            'order'     => 'desc',
+            'desc'      => '上传资料的时间',
+        ),
+
         'option-agreement-status'=> array
         (
             'name'      => '名称',

+ 1 - 0
service/option/src/My.php

@@ -258,6 +258,7 @@ class My extends Core
             $where['audit'] = 2;
             $where['status'] = 2;
             $where['is_idcard'] = 1;
+            $where['up_date'] = time();
             Dever::db('option/account')->update($where);
 
             Dever::db('option/member')->update(array('where_id' => $this->user['mid'], 'idcard_bind' => 1));