This commit is contained in:
Developer
2026-03-31 03:48:14 +08:00
parent 62729615b7
commit 888363785b
26 changed files with 219 additions and 808 deletions

View File

@@ -6,7 +6,6 @@
import 'dart:convert';
import 'package:dio/dio.dart';
import 'package:flutter/foundation.dart';
class HttpClient {
static const String _baseUrl = 'https://yy.vogov.cn/api/';
@@ -89,7 +88,7 @@ class HttpClient {
final options = Options(
method: method,
headers: headers != null
? {..._options.headers!, ...headers}
? {..._options.headers, ...headers}
: _options.headers,
);
@@ -165,7 +164,7 @@ class HttpClient {
final options = Options(
method: method,
headers: headers != null
? {..._options.headers!, ...headers}
? {..._options.headers, ...headers}
: _options.headers,
);