修复一些字段不规范造成的歧义,和依赖注入问题

This commit is contained in:
2026-02-26 09:24:59 +08:00
parent 1276adf9e1
commit 0acc78f656
3 changed files with 17 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ class GetDeviceLocationUseCase {
GetDeviceLocationUseCase(this.repository);
//获取设备的位置
Future<Either<DeviceFailure, DeviceLocationEntity>> call(String username) async {
return await repository.getDeviceLocation(username);
Future<Either<DeviceFailure, DeviceLocationEntity>> call(String Devicename) async {
return await repository.getDeviceLocation(Devicename);
}
}