|
@@ -49,56 +49,51 @@ class JsonRpcProxy {
|
|
|
return _platformService!;
|
|
|
}
|
|
|
|
|
|
- AuthenticationService get authentication =>
|
|
|
- findService(() => new AuthenticationService(currentHostAddress));
|
|
|
+ AuthenticationService get authentication =>
|
|
|
+ findService(() => new AuthenticationService(currentHostAddress));
|
|
|
|
|
|
- ClientLogService get clientLog =>
|
|
|
- findService(() => new ClientLogService(currentHostAddress));
|
|
|
+ ClientLogService get clientLog =>
|
|
|
+ findService(() => new ClientLogService(currentHostAddress));
|
|
|
|
|
|
- DeviceService get device =>
|
|
|
- findService(() => new DeviceService(currentHostAddress));
|
|
|
+ DeviceService get device =>
|
|
|
+ findService(() => new DeviceService(currentHostAddress));
|
|
|
|
|
|
- EmailService get email =>
|
|
|
- findService(() => new EmailService(currentHostAddress));
|
|
|
+ EmailService get email =>
|
|
|
+ findService(() => new EmailService(currentHostAddress));
|
|
|
|
|
|
- IdentityApplyService get identityApply =>
|
|
|
- findService(() => new IdentityApplyService(currentHostAddress));
|
|
|
+ IdentityApplyService get identityApply =>
|
|
|
+ findService(() => new IdentityApplyService(currentHostAddress));
|
|
|
|
|
|
- LoginService get login =>
|
|
|
- findService(() => new LoginService(currentHostAddress));
|
|
|
+ LoginService get login =>
|
|
|
+ findService(() => new LoginService(currentHostAddress));
|
|
|
|
|
|
- OrganizationService get organization =>
|
|
|
- findService(() => new OrganizationService(currentHostAddress));
|
|
|
+ OrganizationService get organization =>
|
|
|
+ findService(() => new OrganizationService(currentHostAddress));
|
|
|
|
|
|
- PatientService get patient =>
|
|
|
- findService(() => new PatientService(currentHostAddress));
|
|
|
+ PatientService get patient =>
|
|
|
+ findService(() => new PatientService(currentHostAddress));
|
|
|
|
|
|
- PositionService get position =>
|
|
|
- findService(() => new PositionService(currentHostAddress));
|
|
|
+ PositionService get position =>
|
|
|
+ findService(() => new PositionService(currentHostAddress));
|
|
|
|
|
|
- RankService get rank =>
|
|
|
- findService(() => new RankService(currentHostAddress));
|
|
|
+ RankService get rank =>
|
|
|
+ findService(() => new RankService(currentHostAddress));
|
|
|
|
|
|
- RegionService get region =>
|
|
|
- findService(() => new RegionService(currentHostAddress));
|
|
|
+ RegionService get region =>
|
|
|
+ findService(() => new RegionService(currentHostAddress));
|
|
|
|
|
|
- RemedicalService get remedical =>
|
|
|
- findService(() => new RemedicalService(currentHostAddress));
|
|
|
+ RemedicalService get remedical =>
|
|
|
+ findService(() => new RemedicalService(currentHostAddress));
|
|
|
|
|
|
- RoleService get role =>
|
|
|
- findService(() => new RoleService(currentHostAddress));
|
|
|
+ RoleService get role =>
|
|
|
+ findService(() => new RoleService(currentHostAddress));
|
|
|
|
|
|
- SMSService get sMS =>
|
|
|
- findService(() => new SMSService(currentHostAddress));
|
|
|
+ SMSService get sMS => findService(() => new SMSService(currentHostAddress));
|
|
|
|
|
|
- StorageService get storage =>
|
|
|
- findService(() => new StorageService(currentHostAddress));
|
|
|
+ UserService get user =>
|
|
|
+ findService(() => new UserService(currentHostAddress));
|
|
|
|
|
|
- UserService get user =>
|
|
|
- findService(() => new UserService(currentHostAddress));
|
|
|
-
|
|
|
-
|
|
|
- /* 服务代理设置 End */
|
|
|
+ /* 服务代理设置 End */
|
|
|
|
|
|
/// 设置服务主机地址
|
|
|
void setServerHost(String address) {
|
|
@@ -120,4 +115,3 @@ class JsonRpcProxy {
|
|
|
return _serviceCache[serviceType] as T;
|
|
|
}
|
|
|
}
|
|
|
-
|