From cf8f710a38d119d59c0e3dd9d9bf9f39450d14be Mon Sep 17 00:00:00 2001 From: fuenmao <980740792@qq.com> Date: Tue, 7 Jan 2025 11:13:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E8=BF=87=E6=9C=9F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wgshare/lib/common/request/rest_dio.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wgshare/lib/common/request/rest_dio.dart b/wgshare/lib/common/request/rest_dio.dart index 0060e26..43c3cb7 100644 --- a/wgshare/lib/common/request/rest_dio.dart +++ b/wgshare/lib/common/request/rest_dio.dart @@ -118,10 +118,9 @@ class ResponseHandle extends Interceptor { }); } - /*if(data['code'] != 200){ + if(data['code'] != 200){ ToastUtils.showError(data['message']); - }*/ - ToastUtils.showError(data['message']); + } super.onResponse(response, handler); }