地址切换

This commit is contained in:
2026-01-12 09:13:37 +08:00
parent baee5dba83
commit 285a20f070
7 changed files with 199 additions and 7 deletions

View File

@@ -65,6 +65,8 @@ void main() async {
}
void initHttpSet() {
AppTheme.test_service_url = StorageService.to.hostUrl ?? AppTheme.test_service_url;
// 设置基础 URL
HttpService.to.setBaseUrl(AppTheme.test_service_url);
//指定请求头