123456789101112131415161718192021 |
-
-
- import 'package:dio/dio.dart';
- import 'package:farmer_client/utils/Request.dart';
- import 'package:fluttertoast/fluttertoast.dart';
-
-
- /**
- * 订单列表
- * @param {*} data
- * @returns
- */
- Future getOrderList(bool mine)async{
- return request('/order',options: Options(method: 'GET'),data: { 'mine': mine}).catchError((error) =>
- { Fluttertoast.showToast(
- msg: error.error['message']
- ),});
-
- }
-
|