|  | @@ -127,7 +127,7 @@ class SeminarSignUpController extends ApiController
 | 
	
		
			
			| 127 | 127 |          for ($i = 0; $i < count($list); $i++) {
 | 
	
		
			
			| 128 | 128 |  
 | 
	
		
			
			| 129 | 129 |              try{
 | 
	
		
			
			| 130 |  | -                \Log::info($this->safeDecrypt($list[$i]["firstName"], 'arm'));
 | 
	
		
			
			|  | 130 | +                // \Log::info($this->safeDecrypt($list[$i]["firstName"], 'arm'));
 | 
	
		
			
			| 131 | 131 |                  
 | 
	
		
			
			| 132 | 132 |                  // $data[] = array(
 | 
	
		
			
			| 133 | 133 |                      //一般資料
 | 
	
	
		
			
			|  | @@ -159,18 +159,18 @@ class SeminarSignUpController extends ApiController
 | 
	
		
			
			| 159 | 159 |                      $jobTitle = $list[$i]["jobTitle"];
 | 
	
		
			
			| 160 | 160 |                      $trackOfInterest = $list[$i]["trackOfInterest"];
 | 
	
		
			
			| 161 | 161 |  
 | 
	
		
			
			| 162 |  | -                    // if ($lang=='TP'||$lang=='HS') {
 | 
	
		
			
			| 163 |  | -                    //     $this->mailToUser_TW($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			| 164 |  | -                    //         $phoneNumber_orig, $country, $registeredSession, $lunchOptions, $typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			| 165 |  | -                    // } elseif ($lang=='JP') {
 | 
	
		
			
			| 166 |  | -                    //     $this->mailToUser_JP($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			| 167 |  | -                    //     $phoneNumber_orig, $country, /*$registeredSession, $lunchOptions, */$typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			| 168 |  | -                    // } elseif ($lang=='KR') {
 | 
	
		
			
			| 169 |  | -                    //     $this->mailToUser_KR($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			| 170 |  | -                    //     $phoneNumber_orig, $country, /*$registeredSession, $lunchOptions, */$typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			| 171 |  | -                    // } else {
 | 
	
		
			
			| 172 |  | -                    //     $this->mailToUser_EN($firstName_orig, $companyEmail_orig, $backupEmail_orig);
 | 
	
		
			
			| 173 |  | -                    // }
 | 
	
		
			
			|  | 162 | +                    if ($lang=='TP'||$lang=='HS') {
 | 
	
		
			
			|  | 163 | +                        $this->mailToUser_TW($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			|  | 164 | +                            $phoneNumber_orig, $country, $registeredSession, $lunchOptions, $typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			|  | 165 | +                    } elseif ($lang=='JP') {
 | 
	
		
			
			|  | 166 | +                        $this->mailToUser_JP($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			|  | 167 | +                        $phoneNumber_orig, $country, /*$registeredSession, $lunchOptions, */$typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			|  | 168 | +                    } elseif ($lang=='KR') {
 | 
	
		
			
			|  | 169 | +                        $this->mailToUser_KR($firstName_orig, $lastName_orig, $companyName_orig, $companyEmail_orig, $backupEmail_orig, 
 | 
	
		
			
			|  | 170 | +                        $phoneNumber_orig, $country, /*$registeredSession, $lunchOptions, */$typeOfIndustry, $typeOfJob, $jobTitle, $trackOfInterest);
 | 
	
		
			
			|  | 171 | +                    } else {
 | 
	
		
			
			|  | 172 | +                        $this->mailToUser_EN($firstName_orig, $companyEmail_orig, $backupEmail_orig);
 | 
	
		
			
			|  | 173 | +                    }
 | 
	
		
			
			| 174 | 174 |                  // );
 | 
	
		
			
			| 175 | 175 |  
 | 
	
		
			
			| 176 | 176 |                  $res = [
 |