Commit 0bb22eda by zhengnw@sobot.com

common 1.6.2

parent a2e28c1f
...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) { ...@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名 PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION = '1.6.1' //版本号 PUBLISH_VERSION = '1.6.2' //版本号
} }
......
...@@ -62,7 +62,6 @@ public class SobotLoginTools { ...@@ -62,7 +62,6 @@ public class SobotLoginTools {
user.setLogin_time(System.currentTimeMillis()); user.setLogin_time(System.currentTimeMillis());
LoginUserManager.getInstance().insert(user); LoginUserManager.getInstance().insert(user);
} else { } else {
HostManager.getInstance().deleteAll();
ServiceInfoManager.getInstance().deleteAll(); ServiceInfoManager.getInstance().deleteAll();
} }
} }
...@@ -119,10 +118,10 @@ public class SobotLoginTools { ...@@ -119,10 +118,10 @@ public class SobotLoginTools {
//清除登录信息 //清除登录信息
public void clearLoginInfo() { public void clearLoginInfo() {
user = null;
mServiceInfoModel = null;
LoginUserManager.getInstance().deleteAll(); LoginUserManager.getInstance().deleteAll();
ServiceInfoManager.getInstance().deleteAll(); ServiceInfoManager.getInstance().deleteAll();
user = null;
mServiceInfoModel = null;
} }
//呼叫 v6 获取 accessToken //呼叫 v6 获取 accessToken
......
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