From 81950fc2291f89aa877509810fa2a7cbf64da22a Mon Sep 17 00:00:00 2001 From: Songzex <2402265378@qq.com> Date: Sat, 28 Feb 2026 10:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8E=A5=E5=8F=A3404?= =?UTF-8?q?=E9=97=AE=E9=A2=98+=E7=BA=BF=E7=A8=8B=E5=A0=B5=E5=A1=9E?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/di/injection.dart | 1 - .../data/repositories/generate_path_repository_Impl.dart | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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,