feat(admin): 联动用户、预约、排班和部门统计的只读预览

This commit is contained in:
2026-12-01 16:52:47 +08:00
parent e1681f8d13
commit ff55e1568e
23 changed files with 2045 additions and 488 deletions
+7
View File
@@ -13,3 +13,10 @@ await check('GET','/adminapi/order.order/export?export=2',403)
await check('GET','/api-proxy/adminapi/order.order/lists',404)
await check('GET','/adminapi/order.order/lists',403,{headers:{origin:'http://different-origin.invalid'}})
await check('GET','/.env',404)
// The extra pages are direct-linkable; new modules never widen the write boundary.
for (const path of ['/admin/members','/admin/members/detail?id=70501','/admin/roster','/admin/appointments','/admin/dept-stats']) await check('GET',path,200)
await check('GET','/adminapi/local.preview/appointments?page_size=1',200)
await check('POST','/adminapi/doctor.roster/save',405)
await check('POST','/adminapi/user.user/adjustMoney',405)
await check('GET','/adminapi/doctor.roster/delete',403)
await check('GET','/adminapi/auth.admin/lists',403)