OMEGA\ericyh.huang 1 rok temu
rodzic
commit
4d76a4c31d

+ 1
- 0
src/be/app/Http/Controllers/HealthyPassPortController.php Wyświetl plik

34
         $profile = Survey::where('line_user_id',$request->lineUserId)->first();
34
         $profile = Survey::where('line_user_id',$request->lineUserId)->first();
35
         if(!empty($profile->id)){
35
         if(!empty($profile->id)){
36
             $profile->filler_content = json_decode($profile->filler_content, true);
36
             $profile->filler_content = json_decode($profile->filler_content, true);
37
+            $this->botActionsSend($lineUserId,[$this->buildActionsRequest("setMenu", config("botApi.setMenuDoneSurvey"))]);
37
         }
38
         }
38
         return response()->json(["data" => $profile] );
39
         return response()->json(["data" => $profile] );
39
     }
40
     }