车辆图片动态

This commit is contained in:
2026-02-05 13:54:10 +08:00
parent 7d9b4d99e8
commit 211d0225e4
3 changed files with 20 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ void main() async {
void initHttpSet() {
AppTheme.test_service_url = StorageService.to.hostUrl ?? AppTheme.test_service_url;
HttpService.to.init(timeout: 15);
HttpService.to.setBaseUrl(AppTheme.test_service_url);
HttpService.to.dio.interceptors.add(TokenInterceptor(tokenKey: 'asoco-token'));
HttpService.to.setOnResponseHandler((response) async {