Browse Source

20221013 補寄信(1005~1011)

LuluFJ.Ho 2 years ago
parent
commit
25b4ee7033
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      app/Http/Services/Api/SeminarSignUpService.php

+ 4
- 3
app/Http/Services/Api/SeminarSignUpService.php View File

111
 
111
 
112
     public function getReMailData()
112
     public function getReMailData()
113
     {
113
     {
114
-        \DB::enableQueryLog(); 
114
+        // \DB::enableQueryLog(); 
115
         
115
         
116
         $res = $this->signupDb
116
         $res = $this->signupDb
117
             ->select(['*'])
117
             ->select(['*'])
118
             ->where('createDate', '>', '2022-10-05 08:39:30')
118
             ->where('createDate', '>', '2022-10-05 08:39:30')
119
             ->where('createDate', '<', '2022-10-11 18:42:00')
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
         return $res;
127
         return $res;