fixes an issue that devmgr ping cloud server every second

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
SoftFever
2026-05-03 16:59:30 +08:00
parent 522343a193
commit 84d896bbd3
4 changed files with 15 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ public:
int set_on_http_error_fn(AppOnHttpErrorFn fn);
int set_get_country_code_fn(GetCountryCodeFn fn);
int connect_server();
int refresh_connection();
int refresh_connection(const std::string& provider = "");
int change_user(std::string user_info, const std::string& provider = ORCA_CLOUD_PROVIDER);
bool is_user_login(const std::string& provider = ORCA_CLOUD_PROVIDER);