Pārlūkot izejas kodu

moderna sent msg module after survey

OMEGA\ericyh.huang 1 gadu atpakaļ
vecāks
revīzija
1f1c5ec649

+ 1
- 0
src/be/app/Http/Controllers/HealthyPassPortController.php Parādīt failu

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' => [