feat: 添加微信小程序调试工具和完整参数参考文档

This commit is contained in:
2026-07-24 09:09:15 +08:00
parent 773679c292
commit 6bc4d64c6b
20 changed files with 1449 additions and 240 deletions

View File

@@ -1,30 +1,30 @@
# SHZ Web Test Environment
# SHZ 网页测试环境
## Environment selection
## 环境选择
- Default environment: **test**. Use the exact HTTPS URLs below.
- Production base: `http://39.98.44.136:6024/`. Use it only when the user explicitly requests production in the current conversation. Compose the requested route after this base; do not infer production availability from a test URL.
- Do not deploy, restart a service, alter configuration, or write business data in either environment as part of debugging unless the user explicitly requests it.
- 默认环境:**test**。使用下方完全一致的 HTTPS URL
- 生产基地址:`http://39.98.44.136:6024/`。只有当用户在当前对话中明确要求生产环境时才能使用。将请求的路由拼接在此基地址后,不得从测试 URL 推断生产环境可用性。
- 调试过程中,除非用户明确要求,否则不得在任一环境部署、重启服务、修改配置或写入业务数据。
## Test entries
## 测试入口
| Role / purpose | Test URL | Use |
| 角色/用途 | 测试 URL | 用途 |
| --- | --- | --- |
| PC job seeker | `https://test.xjshzly.longbiosphere.com/shihezi` | Reproduce public job-search, job-fair, resume, policy, and message flows. |
| Authenticated PC job seeker | `https://test.xjshzly.longbiosphere.com/shihezi/backDoor` | Use the testing back door to select the one user required by the scenario. When it prompts for image verification, enter `820820`. Do not enumerate unrelated users. |
| Supervisory admin | `https://test.xjshzly.longbiosphere.com/shihezi/user/login` | Use the admin role on the shared login page. |
| Enterprise | `https://test.xjshzly.longbiosphere.com/shihezi/user/login` | Use the enterprise role on the shared login page. |
| PC 求职者 | `https://test.xjshzly.longbiosphere.com/shihezi` | 复现公开求职、招聘会、简历、政策和消息流程。 |
| 已认证 PC 求职者 | `https://test.xjshzly.longbiosphere.com/shihezi/backDoor` | 使用测试后门选择场景所需的一个用户。如果提示图形验证码,输入 `820820`。不得枚举无关用户。 |
| 监管管理员 | `https://test.xjshzly.longbiosphere.com/shihezi/user/login` | 在共用登录页使用管理员角色。 |
| 企业 | `https://test.xjshzly.longbiosphere.com/shihezi/user/login` | 在共用登录页使用企业角色。 |
The public job-seeker root can redirect to a feature route; capture the final URL in the debug evidence instead of treating that redirect as a failure by itself.
公开求职者根路径可能重定向到功能路由;应在调试证据中记录最终 URL不要仅因发生重定向就将其视为失败。
## Test login details
## 测试登录信息
Use these only on the test endpoints above and only when role authentication is required to reproduce the reported issue.
仅当复现报告问题需要角色认证时,才在上述测试端点使用以下信息。
| Role | Account / selection | Password | Image verification code |
| 角色 | 账号/选择方式 | 密码 | 图形验证码 |
| --- | --- | --- | --- |
| Test-user back door | Select only the user required by the scenario | Not applicable | `820820` |
| Supervisory admin | `admin` | `admin123` | `820820` |
| Enterprise | `阿里巴巴` | `820820` | `820820` |
| 测试用户后门 | 只选择场景所需的用户 | 不适用 | `820820` |
| 监管管理员 | `admin` | `admin123` | `820820` |
| 企业 | `阿里巴巴` | `820820` | `820820` |
Do not put these credentials into code, commits, screenshots, browser logs, test fixtures, or final reports. If a login attempt fails, report the role and failure symptom without echoing the credential values.
不得将这些凭据写入代码、提交记录、截图、浏览器日志、测试夹具或最终报告。如果登录失败,只报告角色和失败现象,不得复述凭据值。