Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-api-report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
雷紫添
xzxt-api-report
Commits
a2396d1c
Commit
a2396d1c
authored
Dec 17, 2020
by
雷紫添
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加限流空置。
parent
962215ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/main/java/com/founder/common/IdentityCardVerification.java
+3
-4
src/main/java/com/founder/test.java
+2
-2
No files found.
src/main/java/com/founder/common/IdentityCardVerification.java
View file @
a2396d1c
...
...
@@ -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
}
src/main/java/com/founder/test.java
View file @
a2396d1c
...
...
@@ -42,8 +42,8 @@ public class test {
final
String
encodedText
=
encoder
.
encodeToString
(
buffer
);
System
.
out
.
println
(
encodedText
);
jccj
.
setXxsb_zip
(
encodedText
);
jccj
.
setTaskid
(
"JCCJ-R110000050000201407000
1
"
);
jccj
.
setUser_id
(
"
350128197311050034
"
);
jccj
.
setTaskid
(
"JCCJ-R110000050000201407000
2
"
);
jccj
.
setUser_id
(
"
15252719870504511x
"
);
jccj
.
setUser_dept
(
"1400000000"
);
jccj
.
setVersion
(
"1.00"
);
//发送,httpclient 包含zip包
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment