Selaa lähdekoodia

20221014 重新存取 utm 參數

LuluFJ.Ho 2 vuotta sitten
vanhempi
commit
7a3705b03e

+ 1
- 1
app/Http/Controllers/Api/SeminarSignUpController.php Näytä tiedosto

226
         
226
         
227
         $list = $this->seminarSignUpSv->getUTMData();
227
         $list = $this->seminarSignUpSv->getUTMData();
228
         \Log::info(print_r($list, true));
228
         \Log::info(print_r($list, true));
229
-
229
+return;
230
         $returnData = array();
230
         $returnData = array();
231
         for ($i = 0; $i<count($list); $i++) {
231
         for ($i = 0; $i<count($list); $i++) {
232
 
232
 

+ 2
- 0
app/Http/Services/Api/SeminarSignUpService.php Näytä tiedosto

141
             ->select(['id', 'media'])
141
             ->select(['id', 'media'])
142
             ->where('id', '>', '526')
142
             ->where('id', '>', '526')
143
             // ->where('id', '<', '100')
143
             // ->where('id', '<', '100')
144
+            ->whereNotNull('media')
145
+            ->whereNull('utm_source')
144
 
146
 
145
             ->get()
147
             ->get()
146
             ->toArray();
148
             ->toArray();