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
8e6d2e7b
Commit
8e6d2e7b
authored
Jul 05, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
4a570bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
UserBiz.java
...erver/src/main/java/com/xxfc/platform/im/biz/UserBiz.java
+7
-2
No files found.
xx-im/xx-im-server/src/main/java/com/xxfc/platform/im/biz/UserBiz.java
View file @
8e6d2e7b
...
...
@@ -64,11 +64,16 @@ public class UserBiz {
if
(
mgt
==
null
){
result
=
"系统错误"
;
}
else
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
json
.
put
(
"password"
,
mgt
.
getPassword
());
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"userId"
,
mgt
.
getUserId
());
json
.
put
(
"data"
,
params
);
result
=
json
.
toJSONString
();
/*Map<String,Object>params = new HashMap<String,Object>();
params.put("userId",mgt.getUserId());
params.put("telephone",mgt.getPhone());
params.put("password",mgt.getPassword());
// result = this.login(params);
result = this.login(params);*/
}
}
else
{
json
.
put
(
"password"
,
map
.
get
(
"password"
).
toString
());
...
...
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