Procházet zdrojové kódy

20221013 重新存取 utm 參數

LuluFJ.Ho před 2 roky
rodič
revize
8919ed23cf

+ 1
- 33
app/Http/Controllers/Api/SeminarSignUpController.php Zobrazit soubor

@@ -245,42 +245,10 @@ class SeminarSignUpController extends ApiController
245 245
 
246 246
             }
247 247
             $this->seminarSignUpSv->updateUTMData($id, $importArr);
248
-            return $importArr;
249 248
 
250
-                $res = [
251
-                    'id'      => $id,
252
-                    'value'    => $id.' / '.$firstName_orig.' / '.$lastName_orig.' / '.$companyName_orig.' / '.$companyEmail_orig.' / '.
253
-                                $backupEmail_orig.' / '.$phoneNumber_orig.' / '.$country.' / '.$trackNo.' / '.$lang.' / '.$registeredSession.' / '.
254
-                                $lunchOptions.' / '.$typeOfIndustry.' / '.$typeOfJob.' / '.$jobTitle.' / '.$trackOfInterest,
255
-                    'message' => 'succ',
256
-                ];
257
-                \Log::info($id.': '.print_r($res, true));
258
-                $returnData[] = $res;
259
-            // } catch (\Throwable $exception) {
260
-
261
-            //     $message = [
262
-            //         'msg'  => $exception->getMessage(),
263
-            //         'line' => $exception->getLine(),
264
-            //         'file' => $exception->getFile()
265
-            //     ];
266
-
267
-            //     // 返回
268
-            //     $res = [
269
-            //         'id'      => $id,
270
-            //         'value'    => $id.' / '.$firstName_orig.' / '.$lastName_orig.' / '.$companyName_orig.' / '.$companyEmail_orig.' / '.
271
-            //                     $backupEmail_orig.' / '.$phoneNumber_orig.' / '.$country.' / '.$trackNo.' / '.$lang.' / '.$registeredSession.' / '.
272
-            //                     $lunchOptions.' / '.$typeOfIndustry.' / '.$typeOfJob.' / '.$jobTitle.' / '.$trackOfInterest,
273
-            //         'message' => $message,
274
-            //     ];
275
-            //     $returnData[] = $res;
276
-
277
-            //     $log = json_encode($res, JSON_UNESCAPED_UNICODE);
278
-            //     \Log::info(print_r($log, true));
279
-                
280
-            // }
281 249
         }
282 250
         
283
-        return $returnData;
251
+        return $importArr;
284 252
 
285 253
     }
286 254