|
@@ -74,7 +74,7 @@ class SignupManagementService
|
74
|
74
|
|
75
|
75
|
$res = $this->signupDb
|
76
|
76
|
->select('*');
|
77
|
|
-
|
|
77
|
+
|
78
|
78
|
if ($keyword) {
|
79
|
79
|
$res = $res->where(function($q) use ($keyword) {
|
80
|
80
|
$q->where('firstName', $keyword)
|
|
@@ -96,15 +96,15 @@ class SignupManagementService
|
96
|
96
|
->where('createDate', '<', $createDateFinal);
|
97
|
97
|
}
|
98
|
98
|
|
99
|
|
- $res = $this->signupDb
|
|
99
|
+ $result = $res
|
100
|
100
|
->get()
|
101
|
101
|
->toArray();
|
102
|
|
- // \Log::info(print_r($res,true));
|
|
102
|
+ \Log::info(print_r($res,true));
|
103
|
103
|
|
104
|
104
|
\Log::debug(print_r(DB::getQueryLog(), true));
|
105
|
105
|
|
106
|
106
|
// 整理返回值並返回
|
107
|
|
- return $res;
|
|
107
|
+ return $result;
|
108
|
108
|
}
|
109
|
109
|
|
110
|
110
|
}
|