@if (statusMessage(); as msg) { }

后端服务状态

@if (systemLoading() && !health()) {

正在连接后端…

} @else if (health(); as h) {

服务状态: {{ h.status }}

@if (version(); as v) {

版本:{{ v.name }} {{ v.version }}

}

模块:{{ h.modules.join(', ') }}

数据库: {{ h.database.connected ? '已连接' : '未连接' }}

@if (h.database.counts) {

群 / 成员 / 消息: {{ h.database.counts.groupChat }} / {{ h.database.counts.groupMember }} / {{ h.database.counts.message }}

}

{{ h.database.serverURL }}

} @if (isDirector(authStore.userRole())) {

企微 Webhook 测试(POST /api/qiwe/webhook)

}