This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
@startuml
' 管理员顺序图:登录 → 管理用户 → 发布公告 → 查看/处理消息
actor 管理员
participant "前端(Admin页面)" as Front
participant "AdminServlet/Controller" as Controller
participant "AdminService" as Service
participant "AdminDao/DB" as DB
管理员 -> Front : 打开Admin登录页
Front -> Controller : 提交登录信息
Controller -> Service : 校验管理员账号
Service -> DB : 查询 admin 表
DB --> Service : 返回 admin 记录
Service --> Controller : 登录成功/失败
Controller --> Front : 返回登录结果
== 发布公告 ==
管理员 -> Front : 打开公告管理页面
Front -> Controller : 提交公告内容
Controller -> Service : 调用 AnnouncmentService.addAnnouncement()