|  | @@ -90,9 +90,8 @@ class HealthyPassPortController extends Controller
 | 
	
		
			
			| 90 | 90 |              //確認完成填寫問卷後,建立完成問券標籤
 | 
	
		
			
			| 91 | 91 |              $buildActions = [];
 | 
	
		
			
			| 92 | 92 |              array_push($buildActions, $this->buildActionsRequest("addTag", config("botApi.doneSurvey")));
 | 
	
		
			
			| 93 |  | -            array_push($buildActions, $this->buildActionsRequest("setMenu", config("botApi.setMenuDoneSurvey")));
 | 
	
		
			
			|  | 93 | +            // array_push($buildActions, $this->buildActionsRequest("setMenu", config("botApi.setMenuDoneSurvey")));
 | 
	
		
			
			| 94 | 94 |              $this->botActionsSend($lineUserId,$buildActions);
 | 
	
		
			
			| 95 |  | -
 | 
	
		
			
			| 96 | 95 |              //儲存填寫資料
 | 
	
		
			
			| 97 | 96 |              if(empty($survey_data->id)){
 | 
	
		
			
			| 98 | 97 |                  $survey_data = new Survey();
 | 
	
	
		
			
			|  | @@ -102,6 +101,17 @@ class HealthyPassPortController extends Controller
 | 
	
		
			
			| 102 | 101 |              $survey_data->nickname = $healthNickname;
 | 
	
		
			
			| 103 | 102 |              $survey_data->filler_content = json_encode($survey_fill_content);
 | 
	
		
			
			| 104 | 103 |              $survey_data->save();
 | 
	
		
			
			|  | 104 | +            //完成推送訊息
 | 
	
		
			
			|  | 105 | +            $res_users = $client->request('POST', 'https://api.botbonnie.com/v2/message/push',[
 | 
	
		
			
			|  | 106 | +                'headers'=>$this->api_header,
 | 
	
		
			
			|  | 107 | +                'json' => [
 | 
	
		
			
			|  | 108 | +                    'userId' => $lineUserId,
 | 
	
		
			
			|  | 109 | +                    'pageId' => config('botApi.lineOAId'),
 | 
	
		
			
			|  | 110 | +                    'platform' => 1,
 | 
	
		
			
			|  | 111 | +                    'moduleId' => 'module-_z7jnxoF4P'
 | 
	
		
			
			|  | 112 | +                ]
 | 
	
		
			
			|  | 113 | +            ]);
 | 
	
		
			
			|  | 114 | +            $statusCode = $res_users->getStatusCode();
 | 
	
		
			
			| 105 | 115 |              return  response()->json(["result" => 'successed']);
 | 
	
		
			
			| 106 | 116 |          }else{
 | 
	
		
			
			| 107 | 117 |              return response()->json(["result" => 'failed'] );
 |