告警中心的二级详情页面+信息中心的页面+对接机器人接口

This commit is contained in:
2026-06-02 08:40:50 +08:00
parent 9eab402551
commit d8879dad62
48 changed files with 4376 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import 'package:fpdart/fpdart.dart';
import '../../../../../core/error/failure.dart';
import '../entities/site_entity.dart';
import '../repositories/site_repository.dart';
class GetSiteListUseCase {
final SiteRepository repository;
GetSiteListUseCase(this.repository);
// pageNum 和 pageSize 固定,orgId 从登录用户信息中获取
Future<Either<Failure, List<SiteEntity>>> call(int orgId) async {
return await repository.getSiteList(orgId);
}
}