chore(deploy): finalize 0309 SAE rollout updates

Sync deployment documentation to the final successful SAE state and clear pending deployment checklist items. Include backend/frontend/R hardening and diagnostics improvements required for stable production behavior.

Made-with: Cursor
This commit is contained in:
2026-03-09 22:27:11 +08:00
parent d30bf95815
commit 971e903acf
23 changed files with 810 additions and 180 deletions

View File

@@ -102,7 +102,7 @@ async function main() {
// ============================================
console.log('📌 创建超级管理员...');
const superAdmin = await prisma.User.upsert({
const superAdmin = await prisma.user.upsert({
where: { phone: '13800000001' },
update: {},
create: {
@@ -123,7 +123,7 @@ async function main() {
// ============================================
console.log('📌 创建Prompt工程师账号...');
const promptEngineer = await prisma.User.upsert({
const promptEngineer = await prisma.user.upsert({
where: { phone: '13800000002' },
update: {},
create: {
@@ -232,7 +232,7 @@ async function main() {
// ============================================
console.log('📌 创建医院管理员...');
const hospitalAdmin = await prisma.User.upsert({
const hospitalAdmin = await prisma.user.upsert({
where: { phone: '13800138001' },
update: {},
create: {
@@ -266,7 +266,7 @@ async function main() {
// ============================================
console.log('📌 创建普通医生用户...');
const doctor1 = await prisma.User.upsert({
const doctor1 = await prisma.user.upsert({
where: { phone: '13800138002' },
update: {},
create: {
@@ -282,7 +282,7 @@ async function main() {
},
});
const doctor2 = await prisma.User.upsert({
const doctor2 = await prisma.user.upsert({
where: { phone: '13800138003' },
update: {},
create: {
@@ -343,6 +343,8 @@ async function main() {
// 审计日志权限
{ code: 'audit:view', name: '查看审计日志', description: '查看操作审计日志', module: 'audit' },
// 用户运营权限(可访问租户管理/用户管理/运营日志)
{ code: 'ops:user-ops', name: '用户运营', description: '运营管理端用户运营视图权限', module: 'ops' },
];
for (const perm of permissionsData) {