if(!code.matches("[A-Za-z0-9]{4}")){
         return "有误!";
 }