瀏覽代碼

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,9 +24,9 @@ class SeminarSignUpController extends ApiController
24 24
     {
25 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 30
         $trackNo = $request->input('trackNo', '');
31 31
         
32 32
         $overOrNot = $this->seminarSignUpSv->overLimitOrNot($trackNo);