|
|
|
@ -304,7 +304,8 @@ class _ApiService implements ApiService {
|
|
|
|
|
const _extra = <String, dynamic>{}; |
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/wallet/rechargeAct', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/wallet/rechargeAct', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'GET', |
|
|
|
@ -315,7 +316,8 @@ class _ApiService implements ApiService {
|
|
|
|
|
final value = BaseData<List<RechargeList>>.fromJson( |
|
|
|
|
_result.data, |
|
|
|
|
(json) => (json as List<dynamic>) |
|
|
|
|
.map<RechargeList>((i) => RechargeList.fromJson(i as Map<String, dynamic>)) |
|
|
|
|
.map<RechargeList>( |
|
|
|
|
(i) => RechargeList.fromJson(i as Map<String, dynamic>)) |
|
|
|
|
.toList()); |
|
|
|
|
return value; |
|
|
|
|
} |
|
|
|
@ -1880,7 +1882,8 @@ class _ApiService implements ApiService {
|
|
|
|
|
const _extra = <String, dynamic>{}; |
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/member/detail/$id', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/member/detail/$id', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'GET', |
|
|
|
@ -1895,14 +1898,12 @@ class _ApiService implements ApiService {
|
|
|
|
|
return value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
Future<BaseData<ActivityPos>> appPopup() async { |
|
|
|
|
const _extra = <String, dynamic>{}; |
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/home/appPopup', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/home/appPopup', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'GET', |
|
|
|
@ -1922,7 +1923,8 @@ class _ApiService implements ApiService {
|
|
|
|
|
const _extra = <String, dynamic>{}; |
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/member/deleteMine', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/member/deleteMine', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'GET', |
|
|
|
@ -1944,7 +1946,8 @@ class _ApiService implements ApiService {
|
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
_data.addAll(param ?? <String, dynamic>{}); |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/information/complaint', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/information/complaint', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'POST', |
|
|
|
@ -1964,8 +1967,7 @@ class _ApiService implements ApiService {
|
|
|
|
|
const _extra = <String, dynamic>{}; |
|
|
|
|
final queryParameters = <String, dynamic>{}; |
|
|
|
|
final _data = <String, dynamic>{}; |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>( |
|
|
|
|
'/home/version', |
|
|
|
|
final _result = await _dio.request<Map<String, dynamic>>('/home/version', |
|
|
|
|
queryParameters: queryParameters, |
|
|
|
|
options: RequestOptions( |
|
|
|
|
method: 'GET', |
|
|
|
@ -1979,5 +1981,4 @@ class _ApiService implements ApiService {
|
|
|
|
|
); |
|
|
|
|
return value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|