update 切换企业后更新账户信息

This commit is contained in:
gallonyin
2023-02-02 17:32:34 +08:00
parent 5d273a41ca
commit a2e001d62c
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import com.blankj.utilcode.util.SPUtils
object Constant {
val AVAILABLE_VERSION = arrayListOf("4.0.2", "4.0.6", "4.0.8", "4.0.10", "4.0.12", "4.0.16", "4.0.18", "4.0.19", "4.0.20")
val AVAILABLE_VERSION = arrayListOf("4.0.2", "4.0.6", "4.0.8", "4.0.10", "4.0.12", "4.0.16", "4.0.18", "4.0.19", "4.0.20", "4.1.0")
const val PACKAGE_NAMES = "com.tencent.wework"
const val WEWORK_NOTIFY = "wework_notify"
const val CHANGE_PAGE_INTERVAL = 1000L

View File

@@ -1080,7 +1080,9 @@ object WeworkOperationImpl {
if (tvCorp != null) {
LogUtils.d("找到目标企业: $objectName")
AccessibilityUtil.performClick(tvCorp)
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "切换企业成功: $objectName", startTime)
goHome()
WeworkGetImpl.getMyInfo(message)
return true
} else {
LogUtils.e("未找到目标企业: $objectName")