ソースを参照

20220831 fix insert data functon

LuluFJ.Ho 2 年 前
コミット
c4bd5a0259
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3
    3
      app/Http/Controllers/Api/SeminarSignUpController.php

+ 3
- 3
app/Http/Controllers/Api/SeminarSignUpController.php ファイルの表示

24
     {
24
     {
25
         // \Log::info(print_r($request,true));
25
         // \Log::info(print_r($request,true));
26
         
26
         
27
-        $name = $this->safeEncrypt($request->input('name', 'name'), 'arm');
28
-        $email = $this->safeEncrypt($request->input('email', 'email'), 'arm');
29
-        $mobile = $this->safeEncrypt($request->input('mobile', 'mobile'), 'arm');
27
+        $name = $this->safeEncrypt($request->input('name', ''), 'arm');
28
+        $email = $this->safeEncrypt($request->input('email', ''), 'arm');
29
+        $mobile = $this->safeEncrypt($request->input('mobile', ''), 'arm');
30
         $trackNo = $request->input('trackNo', '');
30
         $trackNo = $request->input('trackNo', '');
31
         
31
         
32
         $overOrNot = $this->seminarSignUpSv->overLimitOrNot($trackNo);
32
         $overOrNot = $this->seminarSignUpSv->overLimitOrNot($trackNo);