Commit 562ab1ea by 郭倩芳

退出登录,返回值更新

parent df90fe69
......@@ -653,7 +653,7 @@ public class SobotLoginTools {
}
if (!isLogin(loginAcount)) {
if (resultBlock != null) {
resultBlock.resultBolok(SobotResultCode.CODE_SUCCEEDED, "上次登录的保存信息为空,不用再次退出登录", null);
resultBlock.resultBolok(SobotResultCode.CODE_FAILED ,"上次登录的保存信息为空,不用再次退出登录", null);
}
return;
}
......@@ -669,7 +669,7 @@ public class SobotLoginTools {
if (result != null && !SobotStringUtils.isEmpty(result.getRetCode()) && "000000".equals(result.getRetCode())) {
clearLoginInfo();
if (resultBlock != null) {
resultBlock.resultBolok(SobotResultCode.CODE_FAILED, "退出登录成功", null);
resultBlock.resultBolok(SobotResultCode.CODE_SUCCEEDED, "退出登录成功", null);
}
} else {
if (resultBlock != null) {
......
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