Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nouiWithSpringMVC
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
gechengyang
nouiWithSpringMVC
Commits
10384161
Commit
10384161
authored
Aug 23, 2021
by
WeiCong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据coas系统用户新增推送接口需求调整代码实现
parent
3a06fcb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
CoasHandleController.java
...ss/presentation/noui/controller/CoasHandleController.java
+6
-6
No files found.
src/main/java/org/sss/presentation/noui/controller/CoasHandleController.java
View file @
10384161
...
@@ -101,19 +101,19 @@ public class CoasHandleController {
...
@@ -101,19 +101,19 @@ public class CoasHandleController {
public
Object
login
(
@RequestBody
Map
<
String
,
String
>
dataMap
)
{
public
Object
login
(
@RequestBody
Map
<
String
,
String
>
dataMap
)
{
String
loginid
=
dataMap
.
get
(
"loginid"
);
String
loginid
=
dataMap
.
get
(
"loginid"
);
String
uname
=
dataMap
.
get
(
"uname"
);
String
uname
=
dataMap
.
get
(
"uname"
);
String
coas
loginid
=
dataMap
.
get
(
"coaslogin
id"
);
String
coas
roleid
=
dataMap
.
get
(
"coasrole
id"
);
String
coas
uname
=
dataMap
.
get
(
"coasuname
"
);
String
coas
deptid
=
dataMap
.
get
(
"coasdeptid
"
);
String
certdn
=
dataMap
.
get
(
"certdn"
);
String
certdn
=
dataMap
.
get
(
"certdn"
);
String
coastel
=
dataMap
.
get
(
"coastel"
);
String
coastel
=
dataMap
.
get
(
"coastel"
);
String
url
=
coas_server
+
"
push3r
duser?client_id={client_id}&client_secret={client_secret}&optype={optype}&"
+
String
url
=
coas_server
+
"
api/v1/ad
duser?client_id={client_id}&client_secret={client_secret}&optype={optype}&"
+
"coas
loginid={coasloginid}&coasuname={coasuname
}&coascertdn={coascertdn}&loginid={loginid}&uname={uname}"
+
"coas
roleid={coasroleid}&coasdeptid={coasdeptid
}&coascertdn={coascertdn}&loginid={loginid}&uname={uname}"
+
"&coastel={coastel}"
;
"&coastel={coastel}"
;
Map
<
String
,
String
>
body
=
new
HashMap
<>();
Map
<
String
,
String
>
body
=
new
HashMap
<>();
body
.
put
(
"client_id"
,
client_id
);
body
.
put
(
"client_id"
,
client_id
);
body
.
put
(
"client_secret"
,
client_secret
);
body
.
put
(
"client_secret"
,
client_secret
);
body
.
put
(
"optype"
,
"CR"
);
body
.
put
(
"optype"
,
"CR"
);
body
.
put
(
"coas
loginid"
,
coaslogin
id
);
body
.
put
(
"coas
roleid"
,
coasrole
id
);
body
.
put
(
"coas
uname"
,
coasuname
);
body
.
put
(
"coas
deptid"
,
coasdeptid
);
body
.
put
(
"coascertdn"
,
certdn
);
body
.
put
(
"coascertdn"
,
certdn
);
body
.
put
(
"loginid"
,
loginid
);
body
.
put
(
"loginid"
,
loginid
);
body
.
put
(
"uname"
,
uname
);
body
.
put
(
"uname"
,
uname
);
...
...
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