|
|
@ -124,12 +124,12 @@ class _UserPageState extends State<UserPage> {
|
|
|
|
if (UserTool.userProvider.isLogin) {
|
|
|
|
if (UserTool.userProvider.isLogin) {
|
|
|
|
|
|
|
|
|
|
|
|
// var res=await apiClient.request(API.app.trialVip);
|
|
|
|
// var res=await apiClient.request(API.app.trialVip);
|
|
|
|
if (UserTool.userProvider.userInfo.isTrial == 0) {
|
|
|
|
if (UserTool.userProvider.userInfo.isTrial != 1) {
|
|
|
|
showDialog(
|
|
|
|
showDialog(
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
builder: (context) {
|
|
|
|
builder: (context) {
|
|
|
|
return const AppDialog();
|
|
|
|
return const AppDialog();
|
|
|
|
});
|
|
|
|
}).then((value) => _easyRefreshController.callRefresh());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// print(UserTool.userProvider.userInfo.end * 1000);
|
|
|
|
// print(UserTool.userProvider.userInfo.end * 1000);
|
|
|
|
// print(DateTime.now().millisecondsSinceEpoch);
|
|
|
|
// print(DateTime.now().millisecondsSinceEpoch);
|
|
|
|