Beispiel #1
0
 /// <summary>
 /// 删除用户信息
 /// </summary>
 public async void DeleteUser()
 {
     UserShared.Update(context, new AccessToken());
     await SQLiteUtils.Instance().DeleteUserAll();
 }
Beispiel #2
0
 /// <summary>
 /// 获取登录的用户信息
 /// </summary>
 /// <returns></returns>
 public async Task <UserModel> GetUser()
 {
     return(await SQLiteUtils.Instance().QueryUser());
 }