Showing
4 changed files
with
17 additions
and
1 deletions
| @@ -55,7 +55,7 @@ class SellerVersionSunModel { | @@ -55,7 +55,7 @@ class SellerVersionSunModel { | ||
| 55 | vname = json['vname']; | 55 | vname = json['vname']; |
| 56 | rdate = json['rdate']; | 56 | rdate = json['rdate']; |
| 57 | // edate = '1695437146'; | 57 | // edate = '1695437146'; |
| 58 | - // edate = json['vid'] == '4' ? '1695005146' : '1695437146'; | 58 | + // edate = json['vid'] == '4' ? '1695005146' : '1694832346'; |
| 59 | edate = json['edate']; | 59 | edate = json['edate']; |
| 60 | cdate = json['cdate']; | 60 | cdate = json['cdate']; |
| 61 | } | 61 | } |
| @@ -87,6 +87,14 @@ class _CompleteCreateStorePageState extends State<CompleteCreateStorePage> { | @@ -87,6 +87,14 @@ class _CompleteCreateStorePageState extends State<CompleteCreateStorePage> { | ||
| 87 | //退出清空店铺过期数据缓存 | 87 | //退出清空店铺过期数据缓存 |
| 88 | App.sp.remove('sellerEdate'); | 88 | App.sp.remove('sellerEdate'); |
| 89 | } | 89 | } |
| 90 | + if (App.sp.containsKey('sellerEdateModule')) { | ||
| 91 | + //退出清空模块过期数据缓存 | ||
| 92 | + App.sp.remove('sellerEdateModule'); | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + | ||
| 96 | + | ||
| 97 | + | ||
| 90 | bus.emit('refresh_token'); | 98 | bus.emit('refresh_token'); |
| 91 | Map<String, dynamic> userMap = { | 99 | Map<String, dynamic> userMap = { |
| 92 | "sellerimage": seller['seller_image'], | 100 | "sellerimage": seller['seller_image'], |
| @@ -156,6 +156,10 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore> | @@ -156,6 +156,10 @@ class _IfNeedCreateStoreState extends State<IfNeedCreateStore> | ||
| 156 | //退出清空店铺过期数据缓存 | 156 | //退出清空店铺过期数据缓存 |
| 157 | App.sp.remove('sellerEdate'); | 157 | App.sp.remove('sellerEdate'); |
| 158 | } | 158 | } |
| 159 | + if (App.sp.containsKey('sellerEdateModule')) { | ||
| 160 | + //退出清空模块过期数据缓存 | ||
| 161 | + App.sp.remove('sellerEdateModule'); | ||
| 162 | + } | ||
| 159 | bus.emit('refresh_token'); | 163 | bus.emit('refresh_token'); |
| 160 | Map<String, dynamic> seller = sunModel.toJson(); | 164 | Map<String, dynamic> seller = sunModel.toJson(); |
| 161 | Map<String, dynamic> userMap = { | 165 | Map<String, dynamic> userMap = { |
| @@ -376,6 +376,10 @@ class UserModel with ChangeNotifier { | @@ -376,6 +376,10 @@ class UserModel with ChangeNotifier { | ||
| 376 | //退出清空店铺过期数据缓存 | 376 | //退出清空店铺过期数据缓存 |
| 377 | App.sp.remove('sellerEdate'); | 377 | App.sp.remove('sellerEdate'); |
| 378 | } | 378 | } |
| 379 | + if (App.sp.containsKey('sellerEdateModule')) { | ||
| 380 | + //退出清空模块过期数据缓存 | ||
| 381 | + App.sp.remove('sellerEdateModule'); | ||
| 382 | + } | ||
| 379 | 383 | ||
| 380 | App.sp.setBool("isLogin", false); | 384 | App.sp.setBool("isLogin", false); |
| 381 | // XgFlutterPlugin().stopXg(); | 385 | // XgFlutterPlugin().stopXg(); |
-
Please register or login to post a comment