Explorar el Código

moderna sent msg module after survey

OMEGA\ericyh.huang hace 1 año
padre
commit
1f1c5ec649
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/be/app/Http/Controllers/HealthyPassPortController.php

+ 1
- 0
src/be/app/Http/Controllers/HealthyPassPortController.php Ver fichero

102
             $survey_data->filler_content = json_encode($survey_fill_content);
102
             $survey_data->filler_content = json_encode($survey_fill_content);
103
             $survey_data->save();
103
             $survey_data->save();
104
             // //完成推送訊息
104
             // //完成推送訊息
105
+            $client = new Client();
105
             $res_users = $client->request('POST', 'https://api.botbonnie.com/v2/message/push',[
106
             $res_users = $client->request('POST', 'https://api.botbonnie.com/v2/message/push',[
106
                 'headers'=>$this->api_header,
107
                 'headers'=>$this->api_header,
107
                 'json' => [
108
                 'json' => [