Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
杨凯
YDL-Component-Medical
Commits
c23c1c4e
Commit
c23c1c4e
authored
Nov 16, 2020
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:增加Log显示
parent
c96503ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+1
-1
LoginUtils.kt
m-user/src/main/java/com/yidianling/user/LoginUtils.kt
+2
-1
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
c23c1c4e
...
...
@@ -20,7 +20,7 @@ import java.util.List;
public
final
class
DemoGlobalConfig
implements
IConfigModule
{
String
APP_DOMAIN
=
"https://api.github.com/"
;
// public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_
TEST
;
public
static
String
appEnv
=
YDLConstants
.
ENV_
PROD
;
// public static String appEnv = YDLConstants.ENV_PROD;
@Override
...
...
m-user/src/main/java/com/yidianling/user/LoginUtils.kt
View file @
c23c1c4e
...
...
@@ -59,11 +59,12 @@ object LoginUtils {
val
info
=
IMLoginInfo
(
userInfo
?.
uid
?:
""
,
userInfo
?.
hxpwd
?:
""
)
val
callback
=
object
:
IMRequestCallback
<
IMLoginInfo
>
{
override
fun
onSuccess
(
t
:
IMLoginInfo
?)
{
LogUtil
.
e
(
"IM登录成功:"
+
"info.account:"
+
info
.
account
+
"info.passWord"
+
info
.
passWord
)
UserIn
.
imSetAccount
(
userInfo
?.
uid
?:
""
)
}
override
fun
onFailed
(
i
:
Int
)
{
LogUtil
.
e
(
"IM登录失败:$i"
)
LogUtil
.
e
(
"IM登录失败:$i"
+
"info.account:"
+
info
.
account
+
"info.passWord"
+
info
.
passWord
)
}
override
fun
onException
(
throwable
:
Throwable
?)
{
...
...
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