Просмотр исходного кода

20220926 不開放同一議程重複報名(用 company email 判斷, 不用 phone number 判斷)

LuluFJ.Ho 3 лет назад
Родитель
Сommit
7e58b029bb
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      app/Http/Services/Api/SeminarSignUpService.php

+ 1
- 1
app/Http/Services/Api/SeminarSignUpService.php Просмотреть файл

78
         $cnt = $this->signupDb
78
         $cnt = $this->signupDb
79
             ->where('trackNo', '=', $trackNo)
79
             ->where('trackNo', '=', $trackNo)
80
             ->where('companyEmail', '=', $companyEmail)
80
             ->where('companyEmail', '=', $companyEmail)
81
-            ->where('phoneNumber', '=', $phoneNumber)
81
+            // ->where('phoneNumber', '=', $phoneNumber)
82
             ->count();
82
             ->count();
83
         
83
         
84
         \Log::info($cnt);
84
         \Log::info($cnt);