yingzi %!s(int64=2) %!d(string=hai) anos
pai
achega
199769a446
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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])) {