diff --git a/lib/core/di/injection.dart b/lib/core/di/injection.dart index b7a0c6c9..68f7f780 100644 --- a/lib/core/di/injection.dart +++ b/lib/core/di/injection.dart @@ -111,7 +111,6 @@ Future init() async { sl.registerLazySingleton(() => UpdateDevicenameUsecase(sl())); sl.registerLazySingleton(() => SaveWorkRecordUseCase(sl())); - sl.registerLazySingleton(() => SelectWorkRecordUseCase(sl())); /// 5. 状态管理 (Cubit/Bloc) sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册 diff --git a/lib/features/devices/data/repositories/generate_path_repository_Impl.dart b/lib/features/devices/data/repositories/generate_path_repository_Impl.dart index 16b9d4d6..9392a8d9 100644 --- a/lib/features/devices/data/repositories/generate_path_repository_Impl.dart +++ b/lib/features/devices/data/repositories/generate_path_repository_Impl.dart @@ -136,7 +136,7 @@ class PathRepositoryImpl implements PathRepository { final timestamp = DateTime.now().millisecondsSinceEpoch; final url = Uri.parse( - 'https://serviceri.satabot.com/iot/workRecord/selectByWorkname', + 'https://serviceri.satabot.com/iot/workRecord/selectByWorkName', ).replace( queryParameters: { 'workName': workName,