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