Browse Source

更改

ff_new
w-R 3 years ago
parent
commit
ead7899f27
  1. 4
      lib/retrofit/data/login_info.dart

4
lib/retrofit/data/login_info.dart

@ -6,7 +6,7 @@ class LoginInfo {
AuthInfo authInfo, AuthInfo authInfo,
List<CouponList> couponList,}){ List<CouponList> couponList,}){
_authInfo = authInfo; _authInfo = authInfo;
_couponList = couponList; // _couponList = couponList;
} }
LoginInfo.fromJson(dynamic json) { LoginInfo.fromJson(dynamic json) {
@ -24,8 +24,6 @@ class LoginInfo {
AuthInfo get authInfo => _authInfo; AuthInfo get authInfo => _authInfo;
List<CouponList> get couponList => _couponList; List<CouponList> get couponList => _couponList;
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
final map = <String, dynamic>{}; final map = <String, dynamic>{};
if (_authInfo != null) { if (_authInfo != null) {

Loading…
Cancel
Save