From 817e6cce64699fa5779de5d5f8617358bab8959d Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Fri, 3 Dec 2021 14:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/retrofit/data/login_info.dart | 2 +- lib/retrofit/retrofit_api.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/retrofit/data/login_info.dart b/lib/retrofit/data/login_info.dart index c68b06aa..a0107eca 100644 --- a/lib/retrofit/data/login_info.dart +++ b/lib/retrofit/data/login_info.dart @@ -6,7 +6,7 @@ class LoginInfo { AuthInfo authInfo, List couponList,}){ _authInfo = authInfo; - // _couponList = couponList; + _couponList = couponList; } LoginInfo.fromJson(dynamic json) { diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index ecfed7d2..699cf918 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -74,7 +74,7 @@ abstract class ApiService { BuildContext context, String token, bool showLoading = true, - bool pay = true, + bool pay = false, }) { Map headers = (token == null || token == "") ? {} : {'token': "Bearer $token"};