|  | @@ -282,8 +282,12 @@ class TalentBasicChange extends EnterpriseController {
 | 
	
		
			
				|  |  |              $response->msg = "现电子邮箱不能为空";
 | 
	
		
			
				|  |  |              return $response;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if (\StrUtil::isEmpOrNull($data["newContractTime"])) {
 | 
	
		
			
				|  |  | -            $response->msg = "现劳动合同起止时间不能为空";
 | 
	
		
			
				|  |  | +        if (\StrUtil::isEmpOrNull($data["newContractStartTime"])) {
 | 
	
		
			
				|  |  | +            $response->msg = "现劳动合同开始时间不能为空";
 | 
	
		
			
				|  |  | +            return $response;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        if (\StrUtil::isEmpOrNull($data["newContractEndTime"])) {
 | 
	
		
			
				|  |  | +            $response->msg = "现劳动合同结束时间不能为空";
 | 
	
		
			
				|  |  |              return $response;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          if (!preg_match("/[\\w!#$%&'*+\/=?^_`{|}~-]+(?:\\.[\\w!#$%&'*+\/=?^_`{|}~-]+)*@(?:[\\w](?:[\\w-]*[\\w])?\\.)+[\\w](?:[\\w-]*[\\w])?/", $data["newEmail"])) {
 | 
	
	
		
			
				|  | @@ -302,7 +306,9 @@ class TalentBasicChange extends EnterpriseController {
 | 
	
		
			
				|  |  |              $response->msg = "护照格式不合法";
 | 
	
		
			
				|  |  |              return $response;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        list($startTime, $endTime) = explode(" - ", $data["newContractTime"]);
 | 
	
		
			
				|  |  | +        //list($startTime, $endTime) = explode(" - ", $data["newContractTime"]);
 | 
	
		
			
				|  |  | +        $startTime = $data["newContractStartTime"];
 | 
	
		
			
				|  |  | +        $endTime = $data["newContractEndTime"];
 | 
	
		
			
				|  |  |          if (!strtotime($startTime) || !strtotime($endTime) || strtotime($startTime) > strtotime($endTime)) {
 | 
	
		
			
				|  |  |              $response->msg = "劳动合同起止时间不合法";
 | 
	
		
			
				|  |  |              return $response;
 |