Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
31c7b6c5
Commit
31c7b6c5
authored
Jan 02, 2020
by
xiaozhe.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试接口
parent
3c507b26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
WebSecurityConfig.java
...roup/customer/config/http/security/WebSecurityConfig.java
+1
-1
UserServiceImpl.java
.../cn/quantgroup/customer/service/impl/UserServiceImpl.java
+1
-3
No files found.
src/main/java/cn/quantgroup/customer/config/http/security/WebSecurityConfig.java
View file @
31c7b6c5
...
@@ -30,7 +30,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
...
@@ -30,7 +30,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
@Override
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
protected
void
configure
(
HttpSecurity
http
)
throws
Exception
{
//String allowedRoutes = "/test/**,/error/**,/user/**";
//String allowedRoutes = "/test/**,/error/**,/user/**
,/repay/**
";
String
allowedRoutes
=
"/test/**,/error/**"
;
String
allowedRoutes
=
"/test/**,/error/**"
;
String
[]
allowedRoutesArr
=
allowedRoutes
.
split
(
","
);
String
[]
allowedRoutesArr
=
allowedRoutes
.
split
(
","
);
http
http
...
...
src/main/java/cn/quantgroup/customer/service/impl/UserServiceImpl.java
View file @
31c7b6c5
...
@@ -113,9 +113,7 @@ public class UserServiceImpl implements IUserService {
...
@@ -113,9 +113,7 @@ public class UserServiceImpl implements IUserService {
try
{
try
{
Map
<
String
,
Object
>
param
=
Maps
.
newHashMap
();
Map
<
String
,
Object
>
param
=
Maps
.
newHashMap
();
param
.
put
(
"idNo"
,
idNo
);
param
.
put
(
"idNo"
,
idNo
);
Map
<
String
,
String
>
header
=
Maps
.
newHashMap
();
String
result
=
httpService
.
post
(
url
,
param
);
header
.
put
(
"Content-type"
,
"application/json"
);
String
result
=
httpService
.
post
(
url
,
header
,
param
);
log
.
info
(
"[user][query uuid by idNo ] 请求业务系统返回值:{}"
,
result
);
log
.
info
(
"[user][query uuid by idNo ] 请求业务系统返回值:{}"
,
result
);
JsonResult
jsonResult
=
GSON
.
fromJson
(
result
,
JsonResult
.
class
);
JsonResult
jsonResult
=
GSON
.
fromJson
(
result
,
JsonResult
.
class
);
Object
uuid
=
jsonResult
.
getData
();
Object
uuid
=
jsonResult
.
getData
();
...
...
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