Pārlūkot izejas kodu

20221013 補寄信(1005~1011)

LuluFJ.Ho 2 gadus atpakaļ
vecāks
revīzija
25b4ee7033
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4
    3
      app/Http/Services/Api/SeminarSignUpService.php

+ 4
- 3
app/Http/Services/Api/SeminarSignUpService.php Parādīt failu

@@ -111,16 +111,17 @@ class SeminarSignUpService
111 111
 
112 112
     public function getReMailData()
113 113
     {
114
-        \DB::enableQueryLog(); 
114
+        // \DB::enableQueryLog(); 
115 115
         
116 116
         $res = $this->signupDb
117 117
             ->select(['*'])
118 118
             ->where('createDate', '>', '2022-10-05 08:39:30')
119 119
             ->where('createDate', '<', '2022-10-11 18:42:00')
120 120
 
121
-            ->get();
121
+            ->get()
122
+            ->toArray();
122 123
         
123
-        \Log::debug(print_r(DB::getQueryLog(), true));
124
+        // \Log::debug(print_r(DB::getQueryLog(), true));
124 125
         
125 126
         // 整理返回值並返回
126 127
         return $res;