一次大的提交

This commit is contained in:
2026-08-07 08:49:29 +08:00
parent bf2fc49c19
commit db70665ced
181 changed files with 23060 additions and 2804 deletions

View File

@@ -5,5 +5,5 @@ import '../../../../../core/error/failure.dart';
import '../entities/site_entity.dart';
abstract class SiteRepository {
Future<Either<Failure, List<SiteEntity>>> getSiteList(int orgId);
Future<Either<Failure, List<SiteEntity>>> getSiteList(String userId);
}

View File

@@ -10,8 +10,8 @@ class GetSiteListUseCase {
GetSiteListUseCase(this.repository);
// pageNum 和 pageSize 固定,orgId 从登录用户信息中获取
Future<Either<Failure, List<SiteEntity>>> call(int orgId) async {
return await repository.getSiteList(orgId);
// userId 从登录用户信息中获取
Future<Either<Failure, List<SiteEntity>>> call(String userId) async {
return await repository.getSiteList(userId);
}
}