Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
9b38a8e7
Commit
9b38a8e7
authored
Nov 04, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实名认证
parent
9826759a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
XCFQPictureParsingImpl.java
...l/service/PictureParsing/impl/XCFQPictureParsingImpl.java
+2
-3
XCFQAuthentication.java
...vice/authenticationInterface/impl/XCFQAuthentication.java
+2
-2
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/PictureParsing/impl/XCFQPictureParsingImpl.java
View file @
9b38a8e7
...
@@ -30,14 +30,13 @@ public class XCFQPictureParsingImpl implements UserPictureParsing {
...
@@ -30,14 +30,13 @@ public class XCFQPictureParsingImpl implements UserPictureParsing {
// private String appcode = "acea1c8811f748b3a65815f11db357c4";
// private String appcode = "acea1c8811f748b3a65815f11db357c4";
private
String
appcode2
=
"ee7710ce92054cae9f6c040f6864e6a7"
;
private
String
appcode2
=
"ee7710ce92054cae9f6c040f6864e6a7"
;
/**
/**
* 认证相关的数据
* 认证相关的数据
*/
*/
private
String
host
=
"https://ocridcards.market.alicloudapi.com"
;
private
String
host
=
"https://ocridcards.market.alicloudapi.com"
;
private
String
path
=
"/idimages"
;
private
String
path
=
"/idimages"
;
private
String
methd
=
"POST"
;
private
String
meth
o
d
=
"POST"
;
private
String
imageRet
=
"code"
;
private
String
imageRet
=
"code"
;
...
@@ -122,7 +121,7 @@ public class XCFQPictureParsingImpl implements UserPictureParsing {
...
@@ -122,7 +121,7 @@ public class XCFQPictureParsingImpl implements UserPictureParsing {
Map
<
String
,
String
>
bodys
,
Map
<
String
,
String
>
bodys
,
int
type
)
throws
Exception
{
int
type
)
throws
Exception
{
HttpResponse
response
=
CertifHttpUtils
.
doPost
(
host
,
path
,
methd
,
headers
,
querys
,
bodys
);
HttpResponse
response
=
CertifHttpUtils
.
doPost
(
host
,
path
,
meth
o
d
,
headers
,
querys
,
bodys
);
log
.
info
(
"response:"
+
response
);
log
.
info
(
"response:"
+
response
);
StatusLine
statusLine
=
response
.
getStatusLine
();
StatusLine
statusLine
=
response
.
getStatusLine
();
int
statusCode
=
statusLine
.
getStatusCode
();
int
statusCode
=
statusLine
.
getStatusCode
();
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/authenticationInterface/impl/XCFQAuthentication.java
View file @
9b38a8e7
...
@@ -38,7 +38,7 @@ public class XCFQAuthentication implements UserAuthentication {
...
@@ -38,7 +38,7 @@ public class XCFQAuthentication implements UserAuthentication {
private
String
path
=
"/idcard"
;
private
String
path
=
"/idcard"
;
private
String
methd
=
"GET"
;
private
String
meth
o
d
=
"GET"
;
//响应:认证错误码字段名
//响应:认证错误码字段名
private
String
certifRet
=
"status"
;
private
String
certifRet
=
"status"
;
...
@@ -72,7 +72,7 @@ public class XCFQAuthentication implements UserAuthentication {
...
@@ -72,7 +72,7 @@ public class XCFQAuthentication implements UserAuthentication {
querys
.
put
(
idCardName
,
message
.
getIdNumber
());
querys
.
put
(
idCardName
,
message
.
getIdNumber
());
querys
.
put
(
cName
,
message
.
getName
());
querys
.
put
(
cName
,
message
.
getName
());
log
.
info
(
"----querys========="
+
querys
);
log
.
info
(
"----querys========="
+
querys
);
HttpResponse
response
=
HttpUtils
.
doGet
(
hsot
,
path
,
methd
,
headers
,
querys
);
HttpResponse
response
=
HttpUtils
.
doGet
(
hsot
,
path
,
meth
o
d
,
headers
,
querys
);
StatusLine
statusLine
=
response
.
getStatusLine
();
StatusLine
statusLine
=
response
.
getStatusLine
();
int
statusCode
=
statusLine
.
getStatusCode
();
int
statusCode
=
statusLine
.
getStatusCode
();
/**
/**
...
...
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