PC-202304251453\Administrator il y a 5 mois
Parent
commit
2acf1a3c3d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/v1/logic/dataReport/UserLogLogic.php

+ 1 - 1
app/v1/logic/dataReport/UserLogLogic.php

@@ -33,7 +33,7 @@ class UserLogLogic extends BaseLogic
         $unionQuery = [];
         foreach ($monthRange as $month){
             $tableName = 'sdk_reg_log_' . $month;
-            $unionQuery[] = $db->table($tableName)->field("uid,reg_time,imei,brand")->where($where)->whereRaw($whereRaw)->buildSql();
+            $unionQuery[] = $db->table($tableName)->where($where)->whereRaw($whereRaw)->buildSql();
         }
         $fullSql = "(" . implode(' UNION ALL ', $unionQuery) . ") as unTable";