Commit a2396d1c by 雷紫添

增加限流空置。

parent 962215ec
......@@ -68,8 +68,8 @@ public class IdentityCardVerification {
}
int modValue = theLastOne % 11;
String strVerifyCode = wf[modValue];
iDCardNo = iDCardNo + strVerifyCode;
if (idStr.length() == 18 &&!iDCardNo.equals(idStr)) {
iDCardNo = iDCardNo + strVerifyCode.toUpperCase();
if (idStr.length() == 18 &&!iDCardNo.equals(idStr.toUpperCase())) {
return "身份证无效,不是合法的身份证号码";
}
}catch (Exception e){
......@@ -149,4 +149,4 @@ public class IdentityCardVerification {
return false;
}
}
}
\ No newline at end of file
}
......@@ -42,8 +42,8 @@ public class test {
final String encodedText = encoder.encodeToString(buffer);
System.out.println(encodedText);
jccj.setXxsb_zip(encodedText);
jccj.setTaskid("JCCJ-R1100000500002014070001");
jccj.setUser_id("350128197311050034");
jccj.setTaskid("JCCJ-R1100000500002014070002");
jccj.setUser_id("15252719870504511x");
jccj.setUser_dept("1400000000");
jccj.setVersion("1.00");
//发送,httpclient 包含zip包
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment