yingzi 2 năm trước cách đây
mục cha
commit
199769a446
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      app/system/controller/Audit.php

+ 4 - 0
app/system/controller/Audit.php

@@ -58,6 +58,7 @@ class Audit extends BaseController
             [
                 ['page', 1],
                 ['keyword',''],
+                ['mobile',''],
                 ['status', ''],
                 ['uid', ''],
                 ['time',[]],
@@ -70,6 +71,9 @@ class Audit extends BaseController
         if(is_numeric($post['uid']) && $post['uid']>0) {
             $where[]=["t.uid","=",(int)$post['uid']];
         }
+        if(is_mobile($post['mobile'])) {
+            $where[]=["t.mobile","=",$post['mobile']];
+        }
         $startTime = "";
         $endTime = "";
         if(!empty($post['time'][0]) && !empty($post['time'][1])) {