feat: security hardening, wechat pay v3 platform cert integration, companion certification revocation, and audit closed-loop

这个提交包含在:
xcbyy
2026-10-16 17:38:17 +08:00
父节点 3bf38db8b6
当前提交 78117bb4e1
共有 58 个文件被更改,包括 12971 次插入 和 952 次删除

查看文件

@@ -708,5 +708,18 @@ describe('RBAC Permission Architecture (TDD 全流程多角色权限与越权防
expect(content).toContain('/pages/user/index');
}
});
it('大神端冷启动或刷新进入小程序首页时,首页与 App.vue 必须自动路由至大神接单大厅', () => {
const indexPath = path.resolve(__dirname, '../../pwuniapp/pages/index/index.vue');
const indexContent = fs.readFileSync(indexPath, 'utf-8');
expect(indexContent).toContain('checkExpertRedirect');
expect(indexContent).toContain('/pages/expert/hall');
expect(indexContent).toContain('ROLE_TYPES.EXPERT');
const appPath = path.resolve(__dirname, '../../pwuniapp/App.vue');
const appContent = fs.readFileSync(appPath, 'utf-8');
expect(appContent).toContain('/pages/expert/hall');
expect(appContent).toContain('ROLE_TYPES.EXPERT');
});
});
});