2019独角兽企业重金招聘Python工程师标准>>>
$data['otherlicense'] = str_replace(',,',',',$data['otherlicense']);
$pattern = "/^(.*),$/";
preg_match($pattern , $data['otherlicense'], $matches);
if($matches)$data['otherlicense'] = $matches[1];
$pattern = "/^,(.*)$/";preg_match($pattern , $data['otherlicense'], $matches);
if($matches)$data['otherlicense'] = $matches[1];
//合作协议图片处理 结束