|
...
|
...
|
@@ -186,7 +186,7 @@ class DioUtil { |
|
|
|
try {
|
|
|
|
print('--------' + path + '---------');
|
|
|
|
Response response = await _dio.request(path,
|
|
|
|
data: data,
|
|
|
|
queryParameters: data,
|
|
|
|
options: _checkOptions(method, options),
|
|
|
|
cancelToken: cancelToken);
|
|
|
|
_printHttpLog(response);
|
|
...
|
...
|
@@ -260,7 +260,7 @@ class DioUtil { |
|
|
|
Future<BaseRespR<T>> requestR<T>(String method, String path,
|
|
|
|
{data, Options options, CancelToken cancelToken}) async {
|
|
|
|
Response response = await _dio.request(path,
|
|
|
|
data: data,
|
|
|
|
queryParameters: data,
|
|
|
|
options: _checkOptions(method, options),
|
|
|
|
cancelToken: cancelToken);
|
|
|
|
_printHttpLog(response);
|
...
|
...
|
|