补上家长选班、巡课多画面、找回密码和管理端的节次与安全设置。

This commit is contained in:
itxiaohui committed 2026-11-21 12:44:52 +08:00
1 parent 339641040e
commit 0afc29d431
17 files changed
+381 -113

No files matched your search

+1
View File
@@ -55,5 +55,6 @@ Api PUT "/admin/settings" @{ "reg.enabled" = "false" } $adminToken | Out-Null
$closed = $false
try { Api POST "/auth/register" @{ username = "closed$stamp"; displayName = "乙"; email = "closed$stamp@example.com"; password = "Parent123" } $null | Out-Null } catch { $closed = $true }
if (-not $closed) { throw "关闭注册后仍能注册" }
Api PUT "/admin/settings" @{ "reg.enabled" = "true" } $adminToken | Out-Null
$dash = Api GET "/dashboard" $null $adminToken
Write-Output "ACCEPTANCE_OK school=$schoolId class=$($class.data.id) course=$($course.data.id) users=$($dash.data.users) liveToday=$($dash.data.liveToday)"