重构动物模型和路由系统,优化查询逻辑并新增商户和促销活动功能

This commit is contained in:
ylweng
2025-09-22 02:04:07 +08:00
parent 5fc1a4fcb9
commit 47c816270d
54 changed files with 5384 additions and 4639 deletions

View File

@@ -1,9 +1,9 @@
# 解班客项目测试文档
# 结伴客项目测试文档
## 1. 测试概述
### 1.1 测试目标
确保解班客项目各个模块的功能正确性、性能稳定性、安全可靠性,为产品上线提供质量保障。
确保结伴客项目各个模块的功能正确性、性能稳定性、安全可靠性,为产品上线提供质量保障。
### 1.2 测试范围
- **后端API服务**:接口功能、性能、安全测试
@@ -183,7 +183,7 @@ describe('旅行结伴页面', () => {
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="解班客API压测">
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="结伴客API压测">
<elementProp name="TestPlan.arguments" elementType="Arguments" guiclass="ArgumentsPanel">
<collectionProp name="Arguments.arguments"/>
</elementProp>
@@ -304,7 +304,7 @@ describe('XSS防护测试', () => {
### 6.1 测试报告模板
```markdown
# 解班客项目测试报告
# 结伴客项目测试报告
## 测试概要
- **测试版本**: v1.0.0
@@ -969,8 +969,8 @@ test.describe('动物认领流程', () => {
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="解班客性能测试">
<stringProp name="TestPlan.comments">解班客系统性能测试计划</stringProp>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="结伴客性能测试">
<stringProp name="TestPlan.comments">结伴客系统性能测试计划</stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量">
@@ -1129,7 +1129,7 @@ function htmlReport(data) {
</style>
</head>
<body>
<h1>解班客性能测试报告</h1>
<h1>结伴客性能测试报告</h1>
<h2>测试概要</h2>
<div class="metric">
<strong>总请求数:</strong> ${data.metrics.http_reqs.count}
@@ -1311,7 +1311,7 @@ function generateHtmlReport(coverage) {
</style>
</head>
<body>
<h1>解班客测试覆盖率报告</h1>
<h1>结伴客测试覆盖率报告</h1>
<div class="summary">
<h2>总体覆盖率</h2>
<div class="metric ${getColorClass(total.lines.pct)}">
@@ -1542,7 +1542,7 @@ jobs:
## 📚 总结
本测试文档全面覆盖了解班客项目的测试策略和实施方案包括
本测试文档全面覆盖了结伴客项目的测试策略和实施方案包括
### 测试体系特点
@@ -1572,7 +1572,7 @@ jobs:
3. 根据业务变化调整测试策略
4. 培训团队成员测试最佳实践
通过完善的测试体系确保解班客项目的高质量交付和稳定运行
通过完善的测试体系确保结伴客项目的高质量交付和稳定运行
---