地址切换
This commit is contained in:
@@ -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);
|
||||
//指定请求头
|
||||
|
||||
Reference in New Issue
Block a user