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); }