修复一些字段不规范造成的歧义,和依赖注入问题
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user