信息公开前端

This commit is contained in:
biss committed 2026-08-29 17:08:07 +08:00
1 parent 1f7603923e
commit eebc5518c5
14 files changed
+176 -100

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ try {
$notice = Invoke-WebRequest -Uri 'http://127.0.0.1:5055/content/notice' -UseBasicParsing -TimeoutSec 5
$interactive = Invoke-WebRequest -Uri 'http://127.0.0.1:5055/ballot-preview' -UseBasicParsing -TimeoutSec 5
if ($homeResponse.Content -notmatch '公开内容以服务端渲染快速交付') { throw 'Home page content check failed.' }
if ($homeResponse.Content -notmatch '每一项正式信息') { throw 'Home page content check failed.' }
if ($notice.Content -notmatch '公开公告模板') { throw 'Notice page content check failed.' }
if ($interactive.Content -notmatch '投票交互预览') { throw 'Interactive component content check failed.' }