From f70686af33b857d9c5ccbb117b06537e11252026 Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Mon, 28 Jun 2021 15:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E9=80=80=E6=8D=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/market/order/my_order_func.dart | 4 ++-- lib/ui/market/order/my_order_refund_page.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ui/market/order/my_order_func.dart b/lib/ui/market/order/my_order_func.dart index 8fea2982..329ff287 100644 --- a/lib/ui/market/order/my_order_func.dart +++ b/lib/ui/market/order/my_order_func.dart @@ -12,9 +12,9 @@ class MyOrderFunc { } ///申请退换 - static Future refundOrder(int goodsAppointmentId, String reson) async { + static Future refundOrder(int goodsAppointmentId, String reson,int type) async { BaseModel baseModel = await NetUtil().get(API.market.refundOrder, - params: {"goodsAppointmentId": goodsAppointmentId, "backReason": reson}, + params: {"goodsAppointmentId": goodsAppointmentId, "backReason": reson,"backType":type}, showMessage: true); return baseModel; } diff --git a/lib/ui/market/order/my_order_refund_page.dart b/lib/ui/market/order/my_order_refund_page.dart index 27f74f2c..82fddec6 100644 --- a/lib/ui/market/order/my_order_refund_page.dart +++ b/lib/ui/market/order/my_order_refund_page.dart @@ -55,7 +55,7 @@ class _MyOrderRefundPageState extends State { bottomNavi: BottomButton( onPressed: () async { BaseModel baseModel = await MyOrderFunc.refundOrder( - widget.model.id, _editingController.text); + widget.model.id, _editingController.text, _type); if (baseModel.status ?? false) { Get.back(); }