This commit is contained in:
2026-05-11 15:41:50 +08:00
parent 1d9a77a112
commit 9a9ffb79d5
2 changed files with 4 additions and 3 deletions

View File

@@ -118,7 +118,6 @@ class WeworkService : AccessibilityService() {
//隐藏软键盘模式
softKeyboardController.showMode = SHOW_MODE_AUTO
webSocketManager.close(1000, "service Destroy")
FloatWindowHelper.hideWindow()
}
inner class EchoWebSocketListener : WebSocketListener() {

View File

@@ -112,8 +112,10 @@ object HttpUtil {
}
override fun onError(response: Response<String>) {
ToastUtils.showLong("获取配置失败 请检查机器人ID")
LogUtils.e("获取配置失败 请检查机器人ID")
if (toast) {
ToastUtils.showLong("获取配置失败请检查网络/Host/机器人ID")
}
LogUtils.e("获取配置失败: ${response.code()} ${response.exception?.message}")
}
})
}