123456789101112131415161718192021222324252627282930 |
- import 'package:fis_jsonrpc/rpc.dart';
- import 'base.dart';
- /// 账号-医生
- abstract class IAccountManager implements IManager {
- /// 登录
- ///
- /// [account] 账号
- ///
- /// [password] 密码
- Future<int> login(String account, String password, bool isAutoLogin);
- /// 退出登录
- Future<bool> logout();
- Future<UserDTO2?> getUserDetailAsync();
- Future<bool> updateUserAsync(UserDTO2 dto);
- Future<String> getUserPasswordDetailAsync();
- Future<bool> updateUserPasswordAsync(String secretPassword);
- /// 菜单权限
- Future<List<UserFeatureDTO>?> getMenuPermission();
- /// 应用权限
- Future<List<UserFeatureDTO>?> getOperationPermission();
- }
|