feat: security hardening, wechat pay v3 platform cert integration, companion certification revocation, and audit closed-loop
这个提交包含在:
@@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户