Commit c23c1c4e by 霍志良

feat:增加Log显示

parent c96503ff
......@@ -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
......
......@@ -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?) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment