|
|
@@ -6,6 +6,7 @@ import 'package:zhiying_base_widget/pages/order_found_page/order_found_result/or |
|
|
|
import 'package:zhiying_base_widget/pages/order_found_page/order_found_result/order_found_result_model.dart'; |
|
|
|
|
|
|
|
import 'package:zhiying_comm/zhiying_comm.dart'; |
|
|
|
import 'package:fluttertoast/fluttertoast.dart'; |
|
|
|
|
|
|
|
class OrderFoundResultPage extends StatefulWidget { |
|
|
|
//有数据的model |
|
|
@@ -63,8 +64,11 @@ class _OrderFoundResultPageState extends State<OrderFoundResultPage> { |
|
|
|
print("是我的,找回该订单点击"); |
|
|
|
Map<String, dynamic> params = {}; |
|
|
|
params['oid'] = model?.ordId; |
|
|
|
NetUtil.request('/api/v1/order/find', |
|
|
|
method: NetMethod.POST, params: params, onSuccess: (data) {}); |
|
|
|
NetUtil.request('/api/v1/order/find', method: NetMethod.POST, params: params, |
|
|
|
onSuccess: (data) { |
|
|
|
Fluttertoast.showToast(msg: "找回成功"); |
|
|
|
Navigator.pop(context, "success"); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
continueToQuery() { |
|
|
|