删除临时冗余文件
@@ -1,10 +0,0 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Ignored default folder with query files
|
||||
/queries/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="YumiNail-Gateway" />
|
||||
</profile>
|
||||
<profile name="Annotation profile for FingertipDesigner-Core" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<processorPath useClasspath="false">
|
||||
<entry name="E:/apache-maven-3.9.16/maven-repository/FingertipDesigner/org/projectlombok/lombok/1.18.32/lombok-1.18.32.jar" />
|
||||
</processorPath>
|
||||
<module name="YumiNail-Core" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="YumiNail-Core" options="-parameters" />
|
||||
<module name="YumiNail-Gateway" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/FD-Core/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/FD-Gateway/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/YumiNail-Core/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/YumiNail-Gateway/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="central" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/central" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="public" />
|
||||
<option name="name" value="public" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/YumiNail-Core/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/YumiNail-Gateway/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/FD-Core/pom.xml" />
|
||||
<option value="$PROJECT_DIR$/FD-Gateway/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/xiaowang.iml" filepath="$PROJECT_DIR$/.idea/xiaowang.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 30 KiB |
@@ -1,275 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608205715",
|
||||
"base": "http://127.0.0.1:18081",
|
||||
"generatedAt": "2026-06-08T20:57:16",
|
||||
"counts": {
|
||||
"t_user": 2,
|
||||
"t_shop": 3,
|
||||
"t_product": 0,
|
||||
"t_order": 0,
|
||||
"t_order_item": 0,
|
||||
"t_appointment_reservation": 0,
|
||||
"t_artist_schedule": 0,
|
||||
"t_nail_artist_info": 0
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"id": "ENV-001",
|
||||
"role": "??",
|
||||
"module": "Core ????",
|
||||
"steps": "GET /shop/list/simple",
|
||||
"expected": "?? 200 ? data ??",
|
||||
"status": "PASS",
|
||||
"actual": "HTTP 200, {\"code\":200,\"message\":\"操作成功\",\"data\":[]}",
|
||||
"priority": "P0",
|
||||
"evidence": "Core 18081"
|
||||
},
|
||||
{
|
||||
"id": "ENV-002",
|
||||
"role": "??",
|
||||
"module": "Nacos Dev ????",
|
||||
"steps": "?? YumiNail-Dev ??",
|
||||
"expected": "???????",
|
||||
"status": "BLOCKED",
|
||||
"actual": "Nacos ???? 403????????????",
|
||||
"priority": "P3",
|
||||
"evidence": "192.168.5.101 reachable"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-001",
|
||||
"role": "?????",
|
||||
"module": "??",
|
||||
"steps": "xiaowang ??",
|
||||
"expected": "?? type=4",
|
||||
"status": "PASS",
|
||||
"actual": "userId=1, type=4",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-normal",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? normal ??",
|
||||
"expected": "??????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":\"322358415408410624\"}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-expired",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? expired ??",
|
||||
"expected": "??????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":\"322358415660068864\"}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-disabled",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? disabled ??",
|
||||
"expected": "??????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":\"322358415915921408\"}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "??????/???????",
|
||||
"expected": "????",
|
||||
"status": "PASS",
|
||||
"actual": "update={\"code\":200,\"message\":\"操作成功\",\"data\":true}, get={\"code\":200,\"message\":\"操作成功\",\"data\":{\"id\":\"322358415408410624\",\"shopName\":\"fd0608205715 normal shop edited\",\"description\":\"normal edited\",\"address\":\"Dev 1\",\"map",
|
||||
"priority": "P1",
|
||||
"evidence": "PUT/GET shop"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "???????",
|
||||
"expected": "???",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":401,\"message\":\"请求签名无效\"} / {\"code\":401,\"message\":\"请求签名无效\"}",
|
||||
"priority": "P1",
|
||||
"evidence": "PUT /admin/shops/status"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-manager",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? manager type=2",
|
||||
"expected": "???????",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artist1",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? artist1 type=3",
|
||||
"expected": "???????",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artist2",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? artist2 type=3",
|
||||
"expected": "???????",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-customer",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? customer type=0",
|
||||
"expected": "???????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":\"322358417836912640\"}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-expiredmgr",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "?? expiredmgr type=2",
|
||||
"expected": "???????",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":500,\"message\":\"店铺已被冻结\",\"data\":null}",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-009",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "??????",
|
||||
"expected": "??????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":{\"list\":[{\"id\":\"322358415915921408\",\"shopName\":\"fd0608205715 disabled shop\",\"description\":\"disabled\",\"address\":\"Dev 3\",\"mapProvider\":\"TENCENT\",\"longitude\":null,\"latitude\":null,\"navigat",
|
||||
"priority": "P1",
|
||||
"evidence": "GET /admin/shops/list"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-010",
|
||||
"role": "?????",
|
||||
"module": "????",
|
||||
"steps": "????",
|
||||
"expected": "??????",
|
||||
"status": "PASS",
|
||||
"actual": "{\"code\":200,\"message\":\"操作成功\",\"data\":{\"totalUsers\":\"2\",\"totalProducts\":\"0\",\"totalShops\":\"3\",\"todayOrders\":\"0\",\"totalOrderAmount\":0,\"todayOrderAmount\":0,\"weekOrderAmount\":0,\"totalCustomers\":\"1\",\"totalArtists\":\"0\",\"newCusto",
|
||||
"priority": "P2",
|
||||
"evidence": "GET /admin/dashboard/stats"
|
||||
},
|
||||
{
|
||||
"id": "USER-003",
|
||||
"role": "????",
|
||||
"module": "????",
|
||||
"steps": "??????",
|
||||
"expected": "???? token",
|
||||
"status": "FAIL",
|
||||
"actual": "{\"code\":500,\"message\":\"协议版本已更新,请重新阅读并同意\",\"data\":null}",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /user/login"
|
||||
},
|
||||
{
|
||||
"id": "USER-004",
|
||||
"role": "????",
|
||||
"module": "????",
|
||||
"steps": "?????/??",
|
||||
"expected": "???????",
|
||||
"status": "PASS",
|
||||
"actual": "shops={\"code\":200,\"message\":\"操作成功\",\"data\":[{\"id\":\"322358415408410624\",\"shopName\":\"fd0608205715 normal shop, products={\"code\":200,\"message\":\"操作成功\",\"data\":[]}",
|
||||
"priority": "P1",
|
||||
"evidence": "GET public lists"
|
||||
},
|
||||
{
|
||||
"id": "UI-001",
|
||||
"role": "????",
|
||||
"module": "?????",
|
||||
"steps": "?? edgedev ???? Web ??",
|
||||
"expected": "???????",
|
||||
"status": "BLOCKED",
|
||||
"actual": "??????? edgedev/browser ?????? API+DB ??",
|
||||
"priority": "P3",
|
||||
"evidence": "tool unavailable"
|
||||
},
|
||||
{
|
||||
"id": "UI-002",
|
||||
"role": "?????",
|
||||
"module": "???????",
|
||||
"steps": "?????????",
|
||||
"expected": "?????",
|
||||
"status": "BLOCKED",
|
||||
"actual": "?????????????? MCP?? API ??????",
|
||||
"priority": "P3",
|
||||
"evidence": "tool unavailable"
|
||||
},
|
||||
{
|
||||
"id": "PASS-010",
|
||||
"role": "?????",
|
||||
"module": "?????",
|
||||
"steps": "?????/??????",
|
||||
"expected": "?? 0",
|
||||
"status": "PASS",
|
||||
"actual": "counts={'t_user': 2, 't_shop': 3, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_artist_schedule': 0, 't_nail_artist_info': 0}, orphan=0, duplicate=0",
|
||||
"priority": "P0",
|
||||
"evidence": "DB consistency"
|
||||
}
|
||||
],
|
||||
"defects": [
|
||||
{
|
||||
"id": "ADMIN-004",
|
||||
"priority": "P1",
|
||||
"actual": "{\"code\":401,\"message\":\"请求签名无效\"} / {\"code\":401,\"message\":\"请求签名无效\"}",
|
||||
"evidence": "PUT /admin/shops/status"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-manager",
|
||||
"priority": "P1",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artist1",
|
||||
"priority": "P1",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artist2",
|
||||
"priority": "P1",
|
||||
"actual": "{\"code\":500,\"message\":\"店长和美甲师的微信号不能为空\",\"data\":null}",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-expiredmgr",
|
||||
"priority": "P1",
|
||||
"actual": "{\"code\":500,\"message\":\"店铺已被冻结\",\"data\":null}",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-003",
|
||||
"priority": "P0",
|
||||
"actual": "{\"code\":500,\"message\":\"协议版本已更新,请重新阅读并同意\",\"data\":null}",
|
||||
"evidence": "POST /user/login"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# Fingertip Designer ??????? - fd0608205715
|
||||
|
||||
- ?????2026-06-08T20:57:16
|
||||
- ????? MySQL 192.168.5.15 / ?? Core http://127.0.0.1:18081
|
||||
- ??????????? nailart????? runId=fd0608205715
|
||||
|
||||
## ??
|
||||
|
||||
- PASS: 11
|
||||
- FAIL: 6
|
||||
- BLOCKED: 3
|
||||
- ???: 6
|
||||
|
||||
## ????
|
||||
|
||||
| ???? | ?? | ?? | ?? | ?? | ?? | ?? | ??? | ?? |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| ENV-001 | ?? | Core ???? | GET /shop/list/simple | ?? 200 ? data ?? | HTTP 200, {"code":200,"message":"操作成功","data":[]} | PASS | P0 | Core 18081 |
|
||||
| ENV-002 | ?? | Nacos Dev ???? | ?? YumiNail-Dev ?? | ??????? | Nacos ???? 403???????????? | BLOCKED | P3 | 192.168.5.101 reachable |
|
||||
| ADMIN-001 | ????? | ?? | xiaowang ?? | ?? type=4 | userId=1, type=4 | PASS | - | POST /admin/auth/login |
|
||||
| ADMIN-002-normal | ????? | ???? | ?? normal ?? | ?????? | {"code":200,"message":"操作成功","data":"322358415408410624"} | PASS | P1 | POST /admin/shops/create |
|
||||
| ADMIN-002-expired | ????? | ???? | ?? expired ?? | ?????? | {"code":200,"message":"操作成功","data":"322358415660068864"} | PASS | P1 | POST /admin/shops/create |
|
||||
| ADMIN-002-disabled | ????? | ???? | ?? disabled ?? | ?????? | {"code":200,"message":"操作成功","data":"322358415915921408"} | PASS | P1 | POST /admin/shops/create |
|
||||
| ADMIN-003 | ????? | ???? | ??????/??????? | ???? | update={"code":200,"message":"操作成功","data":true}, get={"code":200,"message":"操作成功","data":{"id":"322358415408410624","shopName":"fd0608205715 normal shop edited","description":"normal edited","address":"Dev 1","map | PASS | P1 | PUT/GET shop |
|
||||
| ADMIN-004 | ????? | ???? | ??????? | ??? | {"code":401,"message":"请求签名无效"} / {"code":401,"message":"请求签名无效"} | FAIL | P1 | PUT /admin/shops/status |
|
||||
| ADMIN-007-manager | ????? | ???? | ?? manager type=2 | ??????? | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | FAIL | P1 | POST /admin/user/create |
|
||||
| ADMIN-007-artist1 | ????? | ???? | ?? artist1 type=3 | ??????? | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | FAIL | P1 | POST /admin/user/create |
|
||||
| ADMIN-007-artist2 | ????? | ???? | ?? artist2 type=3 | ??????? | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | FAIL | P1 | POST /admin/user/create |
|
||||
| ADMIN-007-customer | ????? | ???? | ?? customer type=0 | ??????? | {"code":200,"message":"操作成功","data":"322358417836912640"} | PASS | P1 | POST /admin/user/create |
|
||||
| ADMIN-007-expiredmgr | ????? | ???? | ?? expiredmgr type=2 | ??????? | {"code":500,"message":"店铺已被冻结","data":null} | FAIL | P1 | POST /admin/user/create |
|
||||
| ADMIN-009 | ????? | ???? | ?????? | ?????? | {"code":200,"message":"操作成功","data":{"list":[{"id":"322358415915921408","shopName":"fd0608205715 disabled shop","description":"disabled","address":"Dev 3","mapProvider":"TENCENT","longitude":null,"latitude":null,"navigat | PASS | P1 | GET /admin/shops/list |
|
||||
| ADMIN-010 | ????? | ???? | ???? | ?????? | {"code":200,"message":"操作成功","data":{"totalUsers":"2","totalProducts":"0","totalShops":"3","todayOrders":"0","totalOrderAmount":0,"todayOrderAmount":0,"weekOrderAmount":0,"totalCustomers":"1","totalArtists":"0","newCusto | PASS | P2 | GET /admin/dashboard/stats |
|
||||
| USER-003 | ???? | ???? | ?????? | ???? token | {"code":500,"message":"协议版本已更新,请重新阅读并同意","data":null} | FAIL | P0 | POST /user/login |
|
||||
| USER-004 | ???? | ???? | ?????/?? | ??????? | shops={"code":200,"message":"操作成功","data":[{"id":"322358415408410624","shopName":"fd0608205715 normal shop, products={"code":200,"message":"操作成功","data":[]} | PASS | P1 | GET public lists |
|
||||
| UI-001 | ???? | ????? | ?? edgedev ???? Web ?? | ??????? | ??????? edgedev/browser ?????? API+DB ?? | BLOCKED | P3 | tool unavailable |
|
||||
| UI-002 | ????? | ??????? | ????????? | ????? | ?????????????? MCP?? API ?????? | BLOCKED | P3 | tool unavailable |
|
||||
| PASS-010 | ????? | ????? | ?????/?????? | ?? 0 | counts={'t_user': 2, 't_shop': 3, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_artist_schedule': 0, 't_nail_artist_info': 0}, orphan=0, duplicate=0 | PASS | P0 | DB consistency |
|
||||
|
||||
## ??/??
|
||||
|
||||
| ???? | ??? | ?? | ?? |
|
||||
|---|---|---|---|
|
||||
| ADMIN-004 | P1 | {"code":401,"message":"请求签名无效"} / {"code":401,"message":"请求签名无效"} | PUT /admin/shops/status |
|
||||
| ADMIN-007-manager | P1 | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | POST /admin/user/create |
|
||||
| ADMIN-007-artist1 | P1 | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | POST /admin/user/create |
|
||||
| ADMIN-007-artist2 | P1 | {"code":500,"message":"店长和美甲师的微信号不能为空","data":null} | POST /admin/user/create |
|
||||
| ADMIN-007-expiredmgr | P1 | {"code":500,"message":"店铺已被冻结","data":null} | POST /admin/user/create |
|
||||
| USER-003 | P0 | {"code":500,"message":"协议版本已更新,请重新阅读并同意","data":null} | POST /user/login |
|
||||
@@ -1,513 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608211949",
|
||||
"executedAt": "2026-06-08T21:19:57",
|
||||
"summary": {
|
||||
"PASS": 34,
|
||||
"FAIL": 3,
|
||||
"BLOCKED": 2
|
||||
},
|
||||
"state": {
|
||||
"runId": "fd0608211949",
|
||||
"baseUrl": "http://127.0.0.1:18081",
|
||||
"ids": {
|
||||
"normalShop": 322364109750710272,
|
||||
"expiredShop": 322364110119809024,
|
||||
"disabledShop": 322364110384050176,
|
||||
"otherShop": 322364110585376768,
|
||||
"manager": 322364112229543936,
|
||||
"artist1": 322364113525583872,
|
||||
"artist2": 322364114645463040,
|
||||
"customer": 322364115584987136,
|
||||
"otherManager": 322364116306407424,
|
||||
"product": 322364123709353984
|
||||
},
|
||||
"tokens": {
|
||||
"platformAdmin": "***"
|
||||
},
|
||||
"db": {
|
||||
"initStatements": 386
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"id": "ENV-001",
|
||||
"role": "环境",
|
||||
"module": "Core 健康检查",
|
||||
"precondition": "Core 18081 已启动",
|
||||
"steps": "GET /shop/list/simple",
|
||||
"expected": "HTTP 200",
|
||||
"actual": "HTTP 200, {\"code\":200,\"message\":\"操作成功\",\"data\":[{\"id\":\"322358415408410624\",\"shopName\":\"fd0608205715 normal shop edited\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "http://127.0.0.1:18081"
|
||||
},
|
||||
{
|
||||
"id": "ENV-002",
|
||||
"role": "环境",
|
||||
"module": "Nacos Dev 命名空间",
|
||||
"precondition": "仅读开发 Nacos",
|
||||
"steps": "登录 Nacos 读取 YumiNail-Dev",
|
||||
"expected": "成功读取或记录阻塞",
|
||||
"actual": "HTTP 500",
|
||||
"status": "BLOCKED",
|
||||
"priority": "P3",
|
||||
"evidence": "Nacos dev host reachable; secrets redacted"
|
||||
},
|
||||
{
|
||||
"id": "ENV-003",
|
||||
"role": "环境",
|
||||
"module": "数据库重建",
|
||||
"precondition": "已有备份 nailart_backup_fd0608202858.sql",
|
||||
"steps": "DROP/CREATE nailart 并执行 YumiNail.sql",
|
||||
"expected": "初始化成功且基础权限/管理员存在",
|
||||
"actual": "初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "YumiNail-Core/src/main/resources/files/YumiNail.sql"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-001",
|
||||
"role": "平台管理员",
|
||||
"module": "登录",
|
||||
"precondition": "默认管理员 xiaowang",
|
||||
"steps": "账号密码登录后台",
|
||||
"expected": "返回 type=4 accessToken",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"1\", \"account\": \"xiaowang\", \"nickname\": \"系统管理员\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 4, \"shopId\": null, \"shopName\": null, \"shopAuthorizationExpireTime\": null, \"shopAuthorizationExpired\": false, \"shopIds\": [], \"shopNames\": [], \"createTime\": \"2026-06-08T21:19:51\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-normal",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建normal门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364109750710272\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-expired",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建expired门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364110119809024\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-disabled",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建disabled门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364110384050176\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-other",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建other门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364110585376768\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "编辑门店资料后查询详情",
|
||||
"expected": "更新成功且详情为新值",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/update/322364109750710272"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "查询门店详情",
|
||||
"expected": "返回 normal 门店详情",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"description\": \"normal edited\", \"address\": \"Dev 1\", \"mapProvider\": \"TENCENT\", \"longitude\": null, \"latitude\": null, \"navigationUrls\": {}, \"businessHours\": \"09:00-21:00\", \"coverImageFileId\": \"\", \"coverImageUrls\": [], \"imageFileIds\": null, \"imageUrls\": [], \"themePrimaryColor\": \"#1677FF\", \"themeSecondaryColor\": \"#F5F5F5\", \"themeAccentColor\": \"#FF7A45\", \"themePageBgColor\": \"#FFFFFF\", \"themeCardBgColor\": \"#FFFFFF\", \"themeBackgroundImageFileId\": null, \"status\": 1, \"authorizationStartDate\": \"2026-06-07\", \"authorizationDays\": 45, \"authorizationExpireTime\": \"2026-07-21T23:59:59\", \"authorizationExpired\": false, \"authorizationStatusText\": \"有效\", \"createTime\": \"2026-06-08T21:19:53\", \"updateTime\": \"2026-06-08T21:19:53\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /admin/shops/322364109750710272"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店存在",
|
||||
"steps": "JSON body 修改门店状态为启用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364110384050176"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店已启用",
|
||||
"steps": "JSON body 修改门店状态为停用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364110384050176"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-manager",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建manager type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364112229543936\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artistone",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artistone type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364113525583872\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artisttwo",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artisttwo type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364114645463040\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-customer",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建customer type=0",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364115584987136\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-othermgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建othermgr type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364116306407424\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-expiredmgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建expiredmgr type=2",
|
||||
"expected": "过期/冻结门店禁止创建可登录店长,返回明确错误",
|
||||
"actual": "{\"code\": 500, \"message\": \"店铺已被冻结\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-001",
|
||||
"role": "指尖管理师/店长",
|
||||
"module": "登录",
|
||||
"precondition": "manager 账号绑定 normal 门店",
|
||||
"steps": "后台/管理师账号登录并选择门店",
|
||||
"expected": "返回 type=2 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364112229543936\", \"account\": \"fd0608211949manager\", \"nickname\": \"fd0608211949 manager\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 2, \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364109750710272\"], \"shopNames\": [\"fd0608211949 normal shop edited\"], \"createTime\": \"2026-06-08T21:19:54\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ARTIST-001",
|
||||
"role": "设计师/美甲师",
|
||||
"module": "登录",
|
||||
"precondition": "artistone 账号绑定 normal 门店",
|
||||
"steps": "设计师账号登录",
|
||||
"expected": "返回 type=3 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364113525583872\", \"account\": \"fd0608211949artistone\", \"nickname\": \"fd0608211949 artistone\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 3, \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364109750710272\"], \"shopNames\": [\"fd0608211949 normal shop edited\"], \"createTime\": \"2026-06-08T21:19:54\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-008",
|
||||
"role": "店长",
|
||||
"module": "设计师资料",
|
||||
"precondition": "设计师账号存在",
|
||||
"steps": "保存设计师资料",
|
||||
"expected": "返回保存后的设计师资料",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364113911459840\", \"userId\": \"322364113525583872\", \"identity\": \"首席设计师\", \"experience\": 5, \"skills\": \"法式,渐变,手绘\", \"rating\": 4.9, \"status\": 1, \"participateProduction\": 1, \"workStartTime\": \"09:00:00\", \"workEndTime\": \"21:00:00\", \"userType\": 3, \"userTypeName\": \"美甲师\", \"portfolio\": \"\", \"nickname\": \"fd0608211949 artistone\", \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"signature\": \"fd0608211949 signature\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/nail-artist/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "设计师可用",
|
||||
"steps": "保存设计师排班",
|
||||
"expected": "t_artist_schedule 生成记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364122027438080\", \"shopId\": \"322364109750710272\", \"artistId\": \"322364113525583872\", \"workDate\": \"2026-06-10\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608211949\", \"createTime\": \"2026-06-08T21:19:55.9273816\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "USER-001",
|
||||
"role": "普通用户",
|
||||
"module": "协议",
|
||||
"precondition": "匿名可访问",
|
||||
"steps": "读取当前用户协议版本",
|
||||
"expected": "返回 USER_TERMS 和 PRIVACY_POLICY",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"313931273555138001\", \"agreementType\": \"USER_TERMS\", \"agreementTypeName\": \"用户协议\", \"title\": \"用户协议\", \"version\": \"2026.05.18\", \"content\": \"欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:19:52\", \"createTime\": \"2026-06-08T21:19:52\", \"updateTime\": \"2026-06-08T21:19:52\"}, {\"id\": \"313931273555138002\", \"agreementType\": \"PRIVACY_POLICY\", \"agreementTypeName\": \"隐私政策\", \"title\": \"隐私政策\", \"version\": \"2026.05.18\", \"content\": \"Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:19:52\", \"createTime\": \"2026-06-08T21:19:52\", \"updateTime\": \"2026-06-08T21:19:52\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /legal-agreement/current"
|
||||
},
|
||||
{
|
||||
"id": "USER-003",
|
||||
"role": "普通用户",
|
||||
"module": "登录",
|
||||
"precondition": "普通用户账号已创建并提交当前协议版本",
|
||||
"steps": "账号密码登录用户端",
|
||||
"expected": "返回 accessToken 并写入协议同意记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364115584987136\", \"account\": \"fd0608211949customer\", \"nickname\": \"fd0608211949 customer\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 0, \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364109750710272\"], \"shopNames\": [\"fd0608211949 normal shop edited\"], \"createTime\": \"2026-06-08T21:19:54\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /user/login"
|
||||
},
|
||||
{
|
||||
"id": "USER-003B",
|
||||
"role": "普通用户",
|
||||
"module": "协议留痕",
|
||||
"precondition": "用户登录成功",
|
||||
"steps": "查询 t_user_agreement_consent",
|
||||
"expected": "至少 2 条同意记录",
|
||||
"actual": "consent_count=2",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "DB t_user_agreement_consent"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-012",
|
||||
"role": "店长",
|
||||
"module": "作品管理",
|
||||
"precondition": "normal 门店和设计师可用",
|
||||
"steps": "创建可预约作品",
|
||||
"expected": "返回 productId 且用户端可见",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364123709353984\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/product/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-004",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询作品详情",
|
||||
"expected": "详情返回数据",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364123709353984\", \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"title\": \"fd0608211949 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364113525583872\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:19:56\", \"updateTime\": \"2026-06-08T21:19:56\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /product/get/322364123709353984"
|
||||
},
|
||||
{
|
||||
"id": "USER-004B",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询门店作品列表",
|
||||
"expected": "列表包含新建作品",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"322364123709353984\", \"shopId\": \"322364109750710272\", \"shopName\": \"fd0608211949 normal shop edited\", \"title\": \"fd0608211949 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364113525583872\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:19:56\", \"updateTime\": \"2026-06-08T21:19:56\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "GET /product/list/shop/322364109750710272"
|
||||
},
|
||||
{
|
||||
"id": "USER-005",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "用户已登录,作品存在",
|
||||
"steps": "收藏作品",
|
||||
"expected": "收藏成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"ok\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /wishlist/add"
|
||||
},
|
||||
{
|
||||
"id": "USER-005B",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "作品已收藏",
|
||||
"steps": "查询收藏状态",
|
||||
"expected": "返回已收藏",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /wishlist/check"
|
||||
},
|
||||
{
|
||||
"id": "USER-006",
|
||||
"role": "普通用户",
|
||||
"module": "结算预览",
|
||||
"precondition": "用户已登录,作品可预约",
|
||||
"steps": "checkout-preview",
|
||||
"expected": "返回金额和可用优惠信息",
|
||||
"actual": "{\"code\": 500, \"message\": \"请先将商品加入购物车后再结算\", \"data\": null}",
|
||||
"status": "FAIL",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /order/checkout-preview"
|
||||
},
|
||||
{
|
||||
"id": "USER-007",
|
||||
"role": "普通用户",
|
||||
"module": "下单",
|
||||
"precondition": "用户已登录,作品/设计师/排班可用",
|
||||
"steps": "创建订单",
|
||||
"expected": "返回订单、订单项,DB 生成 t_order/t_order_item",
|
||||
"actual": "{\"code\": 500, \"message\": \"请先将商品加入购物车后再结算\", \"data\": null}",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /order/create"
|
||||
},
|
||||
{
|
||||
"id": "LINK-004",
|
||||
"role": "指尖管理师",
|
||||
"module": "新建预约联动",
|
||||
"precondition": "客户/作品/设计师存在",
|
||||
"steps": "规划端新建预约",
|
||||
"expected": "后台订单、订单项、预约占用同步生成",
|
||||
"actual": "{\"code\": 500, \"message\": \"涓嶅彲棰勭害\", \"data\": null}",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/planning/appointments"
|
||||
},
|
||||
{
|
||||
"id": "PERM-001",
|
||||
"role": "后台店长",
|
||||
"module": "跨店隔离",
|
||||
"precondition": "other 店长登录 other 门店",
|
||||
"steps": "请求 normal 门店作品列表",
|
||||
"expected": "应无权查看或返回本店空列表,不泄露 normal 数据",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"list\": [], \"total\": \"0\", \"page\": 1, \"size\": 20}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/product/list?shopId=normal as other manager"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-002",
|
||||
"role": "平台管理员",
|
||||
"module": "停用店铺",
|
||||
"precondition": "disabled 门店为停用",
|
||||
"steps": "尝试给停用店铺创建店长",
|
||||
"expected": "应拦截并提示店铺不可用/冻结",
|
||||
"actual": "{\"code\": 500, \"message\": \"所属店铺不存在或已失效\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create disabled shop"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-003",
|
||||
"role": "未登录用户",
|
||||
"module": "鉴权健壮性",
|
||||
"precondition": "无 token",
|
||||
"steps": "直接调用写接口下单",
|
||||
"expected": "返回 401,不创建订单",
|
||||
"actual": "{\"code\": 401, \"message\": \"未提供认证Token\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /order/create without token"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-004",
|
||||
"role": "过期/错误 token",
|
||||
"module": "鉴权健壮性",
|
||||
"precondition": "错误 token",
|
||||
"steps": "调用需登录 GET 接口",
|
||||
"expected": "返回 401/403",
|
||||
"actual": "HTTP 401, {\"code\":401,\"message\":\"Token无效或已过期\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /order/list with invalid token"
|
||||
},
|
||||
{
|
||||
"id": "PASS-010",
|
||||
"role": "全角色",
|
||||
"module": "数据一致性",
|
||||
"precondition": "主链路执行后",
|
||||
"steps": "核验核心表计数、孤儿预约、重复占用",
|
||||
"expected": "无孤儿预约、无重复 active 占用",
|
||||
"actual": "counts={'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 1, 't_product': 1, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 2}, orphan=0, duplicate=0",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB consistency"
|
||||
},
|
||||
{
|
||||
"id": "UI-002",
|
||||
"role": "小程序端",
|
||||
"module": "微信开发者工具页面测试",
|
||||
"precondition": "当前会话未暴露微信开发者工具自动化入口",
|
||||
"steps": "执行管理师/用户/设计师小程序页面真实点击",
|
||||
"expected": "页面可交互、布局不遮挡",
|
||||
"actual": "工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行",
|
||||
"status": "BLOCKED",
|
||||
"priority": "P3",
|
||||
"evidence": "tool unavailable"
|
||||
}
|
||||
],
|
||||
"counts": {
|
||||
"t_user": 6,
|
||||
"t_shop": 4,
|
||||
"t_user_shop_binding": 5,
|
||||
"t_nail_artist_info": 2,
|
||||
"t_artist_schedule": 1,
|
||||
"t_product": 1,
|
||||
"t_order": 0,
|
||||
"t_order_item": 0,
|
||||
"t_appointment_reservation": 0,
|
||||
"t_user_agreement_consent": 2
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
# Fingertip Designer 全链路用户视角验收清单 - fd0608211949
|
||||
|
||||
- 执行时间:2026-06-08T21:19:57
|
||||
- 环境:开发 MySQL 192.168.5.15 / 本地 Core http://127.0.0.1:18081
|
||||
- 数据策略:执行前已重建 nailart,本轮数据均带 runId 前缀;密钥和密码不写入报告。
|
||||
|
||||
## 汇总
|
||||
|
||||
- PASS: 34
|
||||
- FAIL: 3
|
||||
- BLOCKED: 2
|
||||
- DB counts: {'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 1, 't_product': 1, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 2}
|
||||
|
||||
## 验收清单
|
||||
|
||||
| 用例编号 | 角色 | 模块 | 前置数据 | 操作步骤 | 预期结果 | 实际结果 | 状态 | 缺陷等级 | 证据 |
|
||||
|---|---|---|---|---|---|---|---|---|---|
|
||||
| ENV-001 | 环境 | Core 健康检查 | Core 18081 已启动 | GET /shop/list/simple | HTTP 200 | HTTP 200, {"code":200,"message":"操作成功","data":[{"id":"322358415408410624","shopName":"fd0608205715 normal shop edited"}]} | PASS | P0 | http://127.0.0.1:18081 |
|
||||
| ENV-002 | 环境 | Nacos Dev 命名空间 | 仅读开发 Nacos | 登录 Nacos 读取 YumiNail-Dev | 成功读取或记录阻塞 | HTTP 500 | BLOCKED | P3 | Nacos dev host reachable; secrets redacted |
|
||||
| ENV-003 | 环境 | 数据库重建 | 已有备份 nailart_backup_fd0608202858.sql | DROP/CREATE nailart 并执行 YumiNail.sql | 初始化成功且基础权限/管理员存在 | 初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0} | PASS | - | YumiNail-Core/src/main/resources/files/YumiNail.sql |
|
||||
| ADMIN-001 | 平台管理员 | 登录 | 默认管理员 xiaowang | 账号密码登录后台 | 返回 type=4 accessToken | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "1", "account": "xiaowang", "nickname": "系统管理员", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 4, "shopId": null, "shopName": null, "shopAuthorizationExpireTime": null, "shopAuthorizationExpired": false, "shopIds": [], "shopNames": [], "createTime": "2026-06-08T21:19:51"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-002-normal | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建normal门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364109750710272"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-expired | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建expired门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364110119809024"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-disabled | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建disabled门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364110384050176"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-other | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建other门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364110585376768"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-003 | 平台管理员 | 店铺管理 | normal 门店存在 | 编辑门店资料后查询详情 | 更新成功且详情为新值 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/update/322364109750710272 |
|
||||
| ADMIN-003B | 平台管理员 | 店铺管理 | normal 门店存在 | 查询门店详情 | 返回 normal 门店详情 | {"code": 200, "message": "操作成功", "data": {"id": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "description": "normal edited", "address": "Dev 1", "mapProvider": "TENCENT", "longitude": null, "latitude": null, "navigationUrls": {}, "businessHours": "09:00-21:00", "coverImageFileId": "", "coverImageUrls": [], "imageFileIds": null, "imageUrls": [], "themePrimaryColor": "#1677FF", "themeSecondaryColor": "#F5F5F5", "themeAccentColor": "#FF7A45", "themePageBgColor": "#FFFFFF", "themeCardBgColor": "#FFFFFF", "themeBackgroundImageFileId": null, "status": 1, "authorizationStartDate": "2026-06-07", "authorizationDays": 45, "authorizationExpireTime": "2026-07-21T23:59:59", "authorizationExpired": false, "authorizationStatusText": "有效", "createTime": "2026-06-08T21:19:53", "updateTime": "2026-06-08T21:19:53"}} | PASS | - | GET /admin/shops/322364109750710272 |
|
||||
| ADMIN-004 | 平台管理员 | 店铺启停 | disabled 门店存在 | JSON body 修改门店状态为启用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364110384050176 |
|
||||
| ADMIN-004B | 平台管理员 | 店铺启停 | disabled 门店已启用 | JSON body 修改门店状态为停用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364110384050176 |
|
||||
| ADMIN-007-manager | 平台管理员 | 账号管理 | 门店已创建 | 创建manager type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364112229543936"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artistone | 平台管理员 | 账号管理 | 门店已创建 | 创建artistone type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364113525583872"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artisttwo | 平台管理员 | 账号管理 | 门店已创建 | 创建artisttwo type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364114645463040"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-customer | 平台管理员 | 账号管理 | 门店已创建 | 创建customer type=0 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364115584987136"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-othermgr | 平台管理员 | 账号管理 | 门店已创建 | 创建othermgr type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364116306407424"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-expiredmgr | 平台管理员 | 账号管理 | 门店已创建 | 创建expiredmgr type=2 | 过期/冻结门店禁止创建可登录店长,返回明确错误 | {"code": 500, "message": "店铺已被冻结", "data": null} | PASS | - | POST /admin/user/create |
|
||||
| MANAGER-001 | 指尖管理师/店长 | 登录 | manager 账号绑定 normal 门店 | 后台/管理师账号登录并选择门店 | 返回 type=2 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364112229543936", "account": "fd0608211949manager", "nickname": "fd0608211949 manager", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 2, "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364109750710272"], "shopNames": ["fd0608211949 normal shop edited"], "createTime": "2026-06-08T21:19:54"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ARTIST-001 | 设计师/美甲师 | 登录 | artistone 账号绑定 normal 门店 | 设计师账号登录 | 返回 type=3 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364113525583872", "account": "fd0608211949artistone", "nickname": "fd0608211949 artistone", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 3, "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364109750710272"], "shopNames": ["fd0608211949 normal shop edited"], "createTime": "2026-06-08T21:19:54"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-008 | 店长 | 设计师资料 | 设计师账号存在 | 保存设计师资料 | 返回保存后的设计师资料 | {"code": 200, "message": "操作成功", "data": {"id": "322364113911459840", "userId": "322364113525583872", "identity": "首席设计师", "experience": 5, "skills": "法式,渐变,手绘", "rating": 4.9, "status": 1, "participateProduction": 1, "workStartTime": "09:00:00", "workEndTime": "21:00:00", "userType": 3, "userTypeName": "美甲师", "portfolio": "", "nickname": "fd0608211949 artistone", "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "signature": "fd0608211949 signature"}} | PASS | - | POST /admin/nail-artist/save |
|
||||
| ADMIN-011 | 店长 | 排班 | 设计师可用 | 保存设计师排班 | t_artist_schedule 生成记录 | {"code": 200, "message": "操作成功", "data": {"id": "322364122027438080", "shopId": "322364109750710272", "artistId": "322364113525583872", "workDate": "2026-06-10", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608211949", "createTime": "2026-06-08T21:19:55.9273816"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| USER-001 | 普通用户 | 协议 | 匿名可访问 | 读取当前用户协议版本 | 返回 USER_TERMS 和 PRIVACY_POLICY | {"code": 200, "message": "操作成功", "data": [{"id": "313931273555138001", "agreementType": "USER_TERMS", "agreementTypeName": "用户协议", "title": "用户协议", "version": "2026.05.18", "content": "欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:19:52", "createTime": "2026-06-08T21:19:52", "updateTime": "2026-06-08T21:19:52"}, {"id": "313931273555138002", "agreementType": "PRIVACY_POLICY", "agreementTypeName": "隐私政策", "title": "隐私政策", "version": "2026.05.18", "content": "Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:19:52", "createTime": "2026-06-08T21:19:52", "updateTime": "2026-06-08T21:19:52"}]} | PASS | P0 | GET /legal-agreement/current |
|
||||
| USER-003 | 普通用户 | 登录 | 普通用户账号已创建并提交当前协议版本 | 账号密码登录用户端 | 返回 accessToken 并写入协议同意记录 | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364115584987136", "account": "fd0608211949customer", "nickname": "fd0608211949 customer", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 0, "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364109750710272"], "shopNames": ["fd0608211949 normal shop edited"], "createTime": "2026-06-08T21:19:54"}, "needSetPassword": false}} | PASS | P0 | POST /user/login |
|
||||
| USER-003B | 普通用户 | 协议留痕 | 用户登录成功 | 查询 t_user_agreement_consent | 至少 2 条同意记录 | consent_count=2 | PASS | P1 | DB t_user_agreement_consent |
|
||||
| ADMIN-012 | 店长 | 作品管理 | normal 门店和设计师可用 | 创建可预约作品 | 返回 productId 且用户端可见 | {"code": 200, "message": "操作成功", "data": "322364123709353984"} | PASS | - | POST /admin/product/create |
|
||||
| USER-004 | 普通用户 | 浏览 | 作品已上架 | 匿名查询作品详情 | 详情返回数据 | {"code": 200, "message": "操作成功", "data": {"id": "322364123709353984", "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "title": "fd0608211949 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364113525583872", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:19:56", "updateTime": "2026-06-08T21:19:56"}} | PASS | - | GET /product/get/322364123709353984 |
|
||||
| USER-004B | 普通用户 | 浏览 | 作品已上架 | 匿名查询门店作品列表 | 列表包含新建作品 | {"code": 200, "message": "操作成功", "data": [{"id": "322364123709353984", "shopId": "322364109750710272", "shopName": "fd0608211949 normal shop edited", "title": "fd0608211949 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364113525583872", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:19:56", "updateTime": "2026-06-08T21:19:56"}]} | PASS | P1 | GET /product/list/shop/322364109750710272 |
|
||||
| USER-005 | 普通用户 | 收藏 | 用户已登录,作品存在 | 收藏作品 | 收藏成功 | {"code": 200, "message": "操作成功", "data": "ok"} | PASS | - | POST /wishlist/add |
|
||||
| USER-005B | 普通用户 | 收藏 | 作品已收藏 | 查询收藏状态 | 返回已收藏 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | GET /wishlist/check |
|
||||
| USER-006 | 普通用户 | 结算预览 | 用户已登录,作品可预约 | checkout-preview | 返回金额和可用优惠信息 | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} | FAIL | P1 | POST /order/checkout-preview |
|
||||
| USER-007 | 普通用户 | 下单 | 用户已登录,作品/设计师/排班可用 | 创建订单 | 返回订单、订单项,DB 生成 t_order/t_order_item | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} | FAIL | P0 | POST /order/create |
|
||||
| LINK-004 | 指尖管理师 | 新建预约联动 | 客户/作品/设计师存在 | 规划端新建预约 | 后台订单、订单项、预约占用同步生成 | {"code": 500, "message": "涓嶅彲棰勭害", "data": null} | FAIL | P0 | POST /admin/planning/appointments |
|
||||
| PERM-001 | 后台店长 | 跨店隔离 | other 店长登录 other 门店 | 请求 normal 门店作品列表 | 应无权查看或返回本店空列表,不泄露 normal 数据 | {"code": 200, "message": "操作成功", "data": {"list": [], "total": "0", "page": 1, "size": 20}} | PASS | P0 | GET /admin/product/list?shopId=normal as other manager |
|
||||
| EDGE-002 | 平台管理员 | 停用店铺 | disabled 门店为停用 | 尝试给停用店铺创建店长 | 应拦截并提示店铺不可用/冻结 | {"code": 500, "message": "所属店铺不存在或已失效", "data": null} | PASS | P1 | POST /admin/user/create disabled shop |
|
||||
| EDGE-003 | 未登录用户 | 鉴权健壮性 | 无 token | 直接调用写接口下单 | 返回 401,不创建订单 | {"code": 401, "message": "未提供认证Token"} | PASS | P0 | POST /order/create without token |
|
||||
| EDGE-004 | 过期/错误 token | 鉴权健壮性 | 错误 token | 调用需登录 GET 接口 | 返回 401/403 | HTTP 401, {"code":401,"message":"Token无效或已过期"} | PASS | P0 | GET /order/list with invalid token |
|
||||
| PASS-010 | 全角色 | 数据一致性 | 主链路执行后 | 核验核心表计数、孤儿预约、重复占用 | 无孤儿预约、无重复 active 占用 | counts={'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 1, 't_product': 1, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 2}, orphan=0, duplicate=0 | PASS | P0 | DB consistency |
|
||||
| UI-002 | 小程序端 | 微信开发者工具页面测试 | 当前会话未暴露微信开发者工具自动化入口 | 执行管理师/用户/设计师小程序页面真实点击 | 页面可交互、布局不遮挡 | 工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行 | BLOCKED | P3 | tool unavailable |
|
||||
|
||||
## 失败 / 阻塞项
|
||||
|
||||
| 用例编号 | 等级 | 状态 | 复现/证据 |
|
||||
|---|---|---|---|
|
||||
| ENV-002 | P3 | BLOCKED | HTTP 500 / Nacos dev host reachable; secrets redacted |
|
||||
| USER-006 | P1 | FAIL | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} / POST /order/checkout-preview |
|
||||
| USER-007 | P0 | FAIL | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} / POST /order/create |
|
||||
| LINK-004 | P0 | FAIL | {"code": 500, "message": "涓嶅彲棰勭害", "data": null} / POST /admin/planning/appointments |
|
||||
| UI-002 | P3 | BLOCKED | 工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行 / tool unavailable |
|
||||
@@ -1,623 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608212143",
|
||||
"executedAt": "2026-06-08T21:21:51",
|
||||
"summary": {
|
||||
"PASS": 43,
|
||||
"FAIL": 4,
|
||||
"BLOCKED": 1
|
||||
},
|
||||
"state": {
|
||||
"runId": "fd0608212143",
|
||||
"baseUrl": "http://127.0.0.1:18081",
|
||||
"ids": {
|
||||
"normalShop": 322364589218377728,
|
||||
"expiredShop": 322364589344206848,
|
||||
"disabledShop": 322364589516173312,
|
||||
"otherShop": 322364589629419520,
|
||||
"manager": 322364590870933504,
|
||||
"artist1": 322364591995006976,
|
||||
"artist2": 322364592766758912,
|
||||
"customer": 322364593597231104,
|
||||
"otherManager": 322364594301874176,
|
||||
"product": 322364601348304896,
|
||||
"order": 322364602837282816,
|
||||
"orderItem": 322364602841477120
|
||||
},
|
||||
"tokens": {
|
||||
"platformAdmin": "***"
|
||||
},
|
||||
"db": {
|
||||
"initStatements": 386
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"id": "ENV-001",
|
||||
"role": "环境",
|
||||
"module": "Core 健康检查",
|
||||
"precondition": "Core 18081 已启动",
|
||||
"steps": "GET /shop/list/simple",
|
||||
"expected": "HTTP 200",
|
||||
"actual": "HTTP 200, {\"code\":200,\"message\":\"操作成功\",\"data\":[{\"id\":\"322364109750710272\",\"shopName\":\"fd0608211949 normal shop edited\"},{\"id\":\"322364110585376768\",\"shopName\":\"fd0608211949 other shop\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "http://127.0.0.1:18081"
|
||||
},
|
||||
{
|
||||
"id": "ENV-002",
|
||||
"role": "环境",
|
||||
"module": "Nacos Dev 命名空间",
|
||||
"precondition": "仅读开发 Nacos",
|
||||
"steps": "登录 Nacos 读取 YumiNail-Dev",
|
||||
"expected": "成功读取或记录阻塞",
|
||||
"actual": "HTTP 500",
|
||||
"status": "BLOCKED",
|
||||
"priority": "P3",
|
||||
"evidence": "Nacos dev host reachable; secrets redacted"
|
||||
},
|
||||
{
|
||||
"id": "ENV-003",
|
||||
"role": "环境",
|
||||
"module": "数据库重建",
|
||||
"precondition": "已有备份 nailart_backup_fd0608202858.sql",
|
||||
"steps": "DROP/CREATE nailart 并执行 YumiNail.sql",
|
||||
"expected": "初始化成功且基础权限/管理员存在",
|
||||
"actual": "初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "YumiNail-Core/src/main/resources/files/YumiNail.sql"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-001",
|
||||
"role": "平台管理员",
|
||||
"module": "登录",
|
||||
"precondition": "默认管理员 xiaowang",
|
||||
"steps": "账号密码登录后台",
|
||||
"expected": "返回 type=4 accessToken",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"1\", \"account\": \"xiaowang\", \"nickname\": \"系统管理员\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 4, \"shopId\": null, \"shopName\": null, \"shopAuthorizationExpireTime\": null, \"shopAuthorizationExpired\": false, \"shopIds\": [], \"shopNames\": [], \"createTime\": \"2026-06-08T21:21:46\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-normal",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建normal门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364589218377728\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-expired",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建expired门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364589344206848\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-disabled",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建disabled门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364589516173312\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-other",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建other门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364589629419520\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "编辑门店资料后查询详情",
|
||||
"expected": "更新成功且详情为新值",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/update/322364589218377728"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "查询门店详情",
|
||||
"expected": "返回 normal 门店详情",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"description\": \"normal edited\", \"address\": \"Dev 1\", \"mapProvider\": \"TENCENT\", \"longitude\": null, \"latitude\": null, \"navigationUrls\": {}, \"businessHours\": \"09:00-21:00\", \"coverImageFileId\": \"\", \"coverImageUrls\": [], \"imageFileIds\": null, \"imageUrls\": [], \"themePrimaryColor\": \"#1677FF\", \"themeSecondaryColor\": \"#F5F5F5\", \"themeAccentColor\": \"#FF7A45\", \"themePageBgColor\": \"#FFFFFF\", \"themeCardBgColor\": \"#FFFFFF\", \"themeBackgroundImageFileId\": null, \"status\": 1, \"authorizationStartDate\": \"2026-06-07\", \"authorizationDays\": 45, \"authorizationExpireTime\": \"2026-07-21T23:59:59\", \"authorizationExpired\": false, \"authorizationStatusText\": \"有效\", \"createTime\": \"2026-06-08T21:21:47\", \"updateTime\": \"2026-06-08T21:21:47\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /admin/shops/322364589218377728"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店存在",
|
||||
"steps": "JSON body 修改门店状态为启用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364589516173312"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店已启用",
|
||||
"steps": "JSON body 修改门店状态为停用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364589516173312"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-manager",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建manager type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364590870933504\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artistone",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artistone type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364591995006976\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artisttwo",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artisttwo type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364592766758912\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-customer",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建customer type=0",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364593597231104\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-othermgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建othermgr type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364594301874176\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-expiredmgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建expiredmgr type=2",
|
||||
"expected": "过期/冻结门店禁止创建可登录店长,返回明确错误",
|
||||
"actual": "{\"code\": 500, \"message\": \"店铺已被冻结\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-001",
|
||||
"role": "指尖管理师/店长",
|
||||
"module": "登录",
|
||||
"precondition": "manager 账号绑定 normal 门店",
|
||||
"steps": "后台/管理师账号登录并选择门店",
|
||||
"expected": "返回 type=2 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364590870933504\", \"account\": \"fd0608212143manager\", \"nickname\": \"fd0608212143 manager\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 2, \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364589218377728\"], \"shopNames\": [\"fd0608212143 normal shop edited\"], \"createTime\": \"2026-06-08T21:21:48\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ARTIST-001",
|
||||
"role": "设计师/美甲师",
|
||||
"module": "登录",
|
||||
"precondition": "artistone 账号绑定 normal 门店",
|
||||
"steps": "设计师账号登录",
|
||||
"expected": "返回 type=3 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364591995006976\", \"account\": \"fd0608212143artistone\", \"nickname\": \"fd0608212143 artistone\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 3, \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364589218377728\"], \"shopNames\": [\"fd0608212143 normal shop edited\"], \"createTime\": \"2026-06-08T21:21:48\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-008",
|
||||
"role": "店长",
|
||||
"module": "设计师资料",
|
||||
"precondition": "设计师账号存在",
|
||||
"steps": "保存设计师资料",
|
||||
"expected": "返回保存后的设计师资料",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364592166973440\", \"userId\": \"322364591995006976\", \"identity\": \"首席设计师\", \"experience\": 5, \"skills\": \"法式,渐变,手绘\", \"rating\": 4.9, \"status\": 1, \"participateProduction\": 1, \"workStartTime\": \"09:00:00\", \"workEndTime\": \"21:00:00\", \"userType\": 3, \"userTypeName\": \"美甲师\", \"portfolio\": \"\", \"nickname\": \"fd0608212143 artistone\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"signature\": \"fd0608212143 signature\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/nail-artist/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "设计师可用",
|
||||
"steps": "保存设计师排班",
|
||||
"expected": "t_artist_schedule 生成记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364599410536448\", \"shopId\": \"322364589218377728\", \"artistId\": \"322364591995006976\", \"workDate\": \"2026-06-10\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608212143\", \"createTime\": \"2026-06-08T21:21:49.7444319\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011B",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "规划端新建预约目标日",
|
||||
"steps": "补充规划端目标日期排班",
|
||||
"expected": "t_artist_schedule 生成第二天排班",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364599733497856\", \"shopId\": \"322364589218377728\", \"artistId\": \"322364591995006976\", \"workDate\": \"2026-06-11\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608212143-planning\", \"createTime\": \"2026-06-08T21:21:49.8228393\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "USER-001",
|
||||
"role": "普通用户",
|
||||
"module": "协议",
|
||||
"precondition": "匿名可访问",
|
||||
"steps": "读取当前用户协议版本",
|
||||
"expected": "返回 USER_TERMS 和 PRIVACY_POLICY",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"313931273555138001\", \"agreementType\": \"USER_TERMS\", \"agreementTypeName\": \"用户协议\", \"title\": \"用户协议\", \"version\": \"2026.05.18\", \"content\": \"欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:21:47\", \"createTime\": \"2026-06-08T21:21:47\", \"updateTime\": \"2026-06-08T21:21:47\"}, {\"id\": \"313931273555138002\", \"agreementType\": \"PRIVACY_POLICY\", \"agreementTypeName\": \"隐私政策\", \"title\": \"隐私政策\", \"version\": \"2026.05.18\", \"content\": \"Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:21:47\", \"createTime\": \"2026-06-08T21:21:47\", \"updateTime\": \"2026-06-08T21:21:47\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /legal-agreement/current"
|
||||
},
|
||||
{
|
||||
"id": "USER-003",
|
||||
"role": "普通用户",
|
||||
"module": "登录",
|
||||
"precondition": "普通用户账号已创建并提交当前协议版本",
|
||||
"steps": "账号密码登录用户端",
|
||||
"expected": "返回 accessToken 并写入协议同意记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364593597231104\", \"account\": \"fd0608212143customer\", \"nickname\": \"fd0608212143 customer\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 0, \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364589218377728\"], \"shopNames\": [\"fd0608212143 normal shop edited\"], \"createTime\": \"2026-06-08T21:21:48\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /user/login"
|
||||
},
|
||||
{
|
||||
"id": "USER-003B",
|
||||
"role": "普通用户",
|
||||
"module": "协议留痕",
|
||||
"precondition": "用户登录成功",
|
||||
"steps": "查询 t_user_agreement_consent",
|
||||
"expected": "至少 2 条同意记录",
|
||||
"actual": "consent_count=2",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "DB t_user_agreement_consent"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-012",
|
||||
"role": "店长",
|
||||
"module": "作品管理",
|
||||
"precondition": "normal 门店和设计师可用",
|
||||
"steps": "创建可预约作品",
|
||||
"expected": "返回 productId 且用户端可见",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364601348304896\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/product/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-004",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询作品详情",
|
||||
"expected": "详情返回数据",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364601348304896\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"title\": \"fd0608212143 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364591995006976\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:21:50\", \"updateTime\": \"2026-06-08T21:21:50\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /product/get/322364601348304896"
|
||||
},
|
||||
{
|
||||
"id": "USER-004B",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询门店作品列表",
|
||||
"expected": "列表包含新建作品",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"322364601348304896\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"title\": \"fd0608212143 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364591995006976\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:21:50\", \"updateTime\": \"2026-06-08T21:21:50\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "GET /product/list/shop/322364589218377728"
|
||||
},
|
||||
{
|
||||
"id": "USER-005",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "用户已登录,作品存在",
|
||||
"steps": "收藏作品",
|
||||
"expected": "收藏成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"ok\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /wishlist/add"
|
||||
},
|
||||
{
|
||||
"id": "USER-005B",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "作品已收藏",
|
||||
"steps": "查询收藏状态",
|
||||
"expected": "返回已收藏",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /wishlist/check"
|
||||
},
|
||||
{
|
||||
"id": "USER-005C",
|
||||
"role": "普通用户",
|
||||
"module": "购物车",
|
||||
"precondition": "用户已登录,作品存在",
|
||||
"steps": "加入购物车",
|
||||
"expected": "购物车新增该作品,供结算/下单使用",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /cart/add"
|
||||
},
|
||||
{
|
||||
"id": "USER-005D",
|
||||
"role": "普通用户",
|
||||
"module": "购物车",
|
||||
"precondition": "作品已加入购物车",
|
||||
"steps": "查询购物车列表",
|
||||
"expected": "列表包含新建作品及可预约设计师",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"322364602166194176\", \"productId\": \"322364601348304896\", \"shopId\": \"322364589218377728\", \"productTitle\": \"fd0608212143 主链路款式\", \"productImage\": null, \"price\": 128.0, \"quantity\": 1, \"totalPrice\": 128.0, \"tags\": \"法式,测试\", \"tagNames\": \"\", \"approximateDuration\": \"60分钟\", \"bookableArtists\": \"322364591995006976\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableArtists\": [{\"id\": \"322364591995006976\", \"name\": \"fd0608212143 artistone\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"userType\": 3, \"roleLabel\": \"美甲师\", \"participateProduction\": false}]}]}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /cart/list"
|
||||
},
|
||||
{
|
||||
"id": "USER-006",
|
||||
"role": "普通用户",
|
||||
"module": "结算预览",
|
||||
"precondition": "用户已登录,作品可预约",
|
||||
"steps": "checkout-preview",
|
||||
"expected": "返回金额和可用优惠信息",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"subtotalAmount\": 128.0, \"savedAmount\": 0.0, \"payableAmount\": 128.0, \"bestCoupon\": null, \"availableCoupons\": [], \"unavailableCoupons\": [{\"id\": \"322364589235154944\", \"couponId\": \"322364589235154944\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"青铜VIP自动95折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.5, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:青铜VIP自动95折券,9.5折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:21:47\", \"endTime\": \"2099-12-31T23:59:59\"}, {\"id\": \"322364589243543552\", \"couponId\": \"322364589243543552\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"白银VIP自动92折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.2, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:白银VIP自动92折券,9.2折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:21:47\", \"endTime\": \"2099-12-31T23:59:59\"}, {\"id\": \"322364589256126464\", \"couponId\": \"322364589256126464\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"黄金VIP自动90折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.0, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:黄金VIP自动90折券,9折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:21:47\"",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /order/checkout-preview"
|
||||
},
|
||||
{
|
||||
"id": "USER-007",
|
||||
"role": "普通用户",
|
||||
"module": "下单",
|
||||
"precondition": "用户已登录,作品/设计师/排班可用",
|
||||
"steps": "创建订单",
|
||||
"expected": "返回订单、订单项,DB 生成 t_order/t_order_item",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"userId\": \"322364593597231104\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": null, \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": null, \"customerRemark\": \"fd0608212143\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": false, \"quoteExpireTime\": \"2026-06-09T21:21:50.5600502\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364602862448640\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364593597231104\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212143\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": null, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:21:51\"}], \"customerNickname\": \"fd0608212143 customer\", \"customerPhoneMasked\": \"191****0004\", \"artistOrderSource\": null, \"artistOrderSourceText\": null, \"status\": 0, \"statusText\": \"确认价格中\", \"createTime\": null, \"items\": [{\"id\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"productImage\": null, \"quantity\": 1, \"price\": 128.0, \"referencePrice\": 128.0, \"quotedPrice\":",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /order/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-007B",
|
||||
"role": "普通用户",
|
||||
"module": "DB核验",
|
||||
"precondition": "订单创建成功",
|
||||
"steps": "查询 t_order/t_order_item",
|
||||
"expected": "订单项设计师和预约时间一致",
|
||||
"actual": "{\"status\": 0, \"quote_status\": \"CONFIRMING\", \"artist_id\": 322364591995006976, \"appointment_time\": \"2026-06-10 10:00:00\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order + t_order_item"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-001",
|
||||
"role": "普通用户",
|
||||
"module": "预约冲突",
|
||||
"precondition": "已有同设计师同时间订单占用",
|
||||
"steps": "重复提交同时间预约",
|
||||
"expected": "应拦截重复占用/冲突或操作幂等保护",
|
||||
"actual": "{\"code\": 500, \"message\": \"请先将商品加入购物车后再结算\", \"data\": null}",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /order/create duplicate"
|
||||
},
|
||||
{
|
||||
"id": "LINK-001",
|
||||
"role": "店长",
|
||||
"module": "报价联动",
|
||||
"precondition": "用户订单已创建",
|
||||
"steps": "店长提交报价",
|
||||
"expected": "订单 quote_status 更新为 WAIT_USER/PROCESSING",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"userId\": \"322364593597231104\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212143\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:21:51\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364602862448640\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364593597231104\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212143\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:21:51\"}, {\"id\": \"322364604095574016\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364590870933504\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": nul",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/order/322364602837282816/quote"
|
||||
},
|
||||
{
|
||||
"id": "LINK-002",
|
||||
"role": "店长",
|
||||
"module": "报价联动",
|
||||
"precondition": "店长已提交报价",
|
||||
"steps": "店长确认报价",
|
||||
"expected": "订单 quote_shop_confirmed=1",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"userId\": \"322364593597231104\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212143\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:21:51\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364602862448640\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364593597231104\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212143\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:21:51\"}, {\"id\": \"322364604095574016\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364590870933504\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": nul",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/order/322364602837282816/quote/confirm"
|
||||
},
|
||||
{
|
||||
"id": "LINK-003",
|
||||
"role": "普通用户",
|
||||
"module": "报价联动",
|
||||
"precondition": "店长已确认报价",
|
||||
"steps": "用户确认报价",
|
||||
"expected": "订单 quote_user_confirmed=1,并生成预约占用",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"userId\": \"322364593597231104\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"totalAmount\": 138.0, \"actualAmount\": 138.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 138.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212143\", \"quoteStatus\": \"CONFIRMED\", \"quoteStatusText\": \"价格已确认\", \"quoteUserConfirmed\": true, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:21:51\", \"quoteConfirmedTime\": \"2026-06-08T21:21:51\", \"quoteMessages\": [{\"id\": \"322364602862448640\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364593597231104\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212143\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": 138.0}], \"createTime\": \"2026-06-08T21:21:51\"}, {\"id\": \"322364604095574016\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364590870933504\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"conf",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /order/322364602837282816/quote/confirm"
|
||||
},
|
||||
{
|
||||
"id": "LINK-003B",
|
||||
"role": "普通用户/店长",
|
||||
"module": "DB联动",
|
||||
"precondition": "用户确认报价后",
|
||||
"steps": "查询订单项和预约占用",
|
||||
"expected": "报价确认、预约占用生成且时间/设计师一致",
|
||||
"actual": "{\"quote_status\": \"CONFIRMED\", \"quote_user_confirmed\": 1, \"quote_shop_confirmed\": 1, \"confirmed_price\": \"138.00\", \"ar_status\": \"CONFIRMED\", \"artist_id\": 322364591995006976, \"appointment_start_time\": \"2026-06-10 10:00:00\", \"appointment_end_time\": \"2026-06-10 11:00:00\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order/t_order_item/t_appointment_reservation"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-002",
|
||||
"role": "指尖管理师",
|
||||
"module": "日/周/月规划",
|
||||
"precondition": "订单已确认报价并生成占用",
|
||||
"steps": "查询 planning calendar 日视图",
|
||||
"expected": "返回包含该预约/单量",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"businessStartTime\": \"09:00\", \"businessEndTime\": \"21:00\", \"slotMinutes\": 30, \"artists\": [{\"id\": \"322364591995006976\", \"name\": \"fd0608212143 artistone\", \"shortName\": \"F\", \"phone\": \"19100000002\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"color\": \"#D7A86E\", \"status\": 1, \"statusText\": \"可预约\", \"workStartTime\": \"09:00\", \"workEndTime\": \"21:00\", \"rangeCount\": 1}], \"schedules\": [{\"id\": \"322364599410536448\", \"artistId\": \"322364591995006976\", \"artistName\": \"fd0608212143 artistone\", \"date\": \"2026-06-10\", \"startTime\": \"09:00\", \"endTime\": \"21:00\", \"capacity\": 1, \"status\": 1, \"statusText\": \"可预约\", \"remark\": \"fd0608212143\"}], \"appointments\": [{\"orderId\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"orderItemId\": \"322364602841477120\", \"customerId\": \"322364593597231104\", \"customerName\": \"fd0608212143 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"artistId\": \"322364591995006976\", \"artistName\": \"fd0608212143 artistone\", \"artistColor\": \"#D7A86E\", \"date\": \"2026-06-10\", \"startTime\": \"2026-06-10 10:00:00\", \"endTime\": \"2026-06-10 11:00:00\", \"startMinute\": 600, \"durationMinutes\": 60, \"status\": 1, \"statusText\": \"已确认\", \"amount\": 138.0, \"remark\": \"fd0608212143\"}], \"daySummaries\": [{\"date\": \"2026-06-10\", \"totalCount\": 1, \"artistCounts\": [{\"artistId\": \"322364591995006976\", \"artistName\": \"fd0608212143 artistone\", \"shortName\": \"F\", \"color\": \"#D7A86E\", \"count\": 1, \"status\": \"working\"}], \"dayStatus\": \"full\"}]}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/planning/calendar"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-003",
|
||||
"role": "指尖管理师",
|
||||
"module": "改时间/改派",
|
||||
"precondition": "订单预约已存在",
|
||||
"steps": "改派到 artisttwo 并改到 11:00",
|
||||
"expected": "订单项和预约占用同步更新",
|
||||
"actual": "{\"code\": 500, \"message\": \"涓嶅彲棰勭害\", \"data\": null}",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "PUT /admin/planning/appointments/322364602841477120/time-artist"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-003B",
|
||||
"role": "指尖管理师",
|
||||
"module": "DB联动",
|
||||
"precondition": "改派接口已执行",
|
||||
"steps": "查询订单项/预约占用",
|
||||
"expected": "artist_id 和 appointment_time 均同步为新值",
|
||||
"actual": "{\"artist_id\": 322364591995006976, \"appointment_time\": \"2026-06-10 10:00:00\", \"ar_artist\": 322364591995006976, \"appointment_start_time\": \"2026-06-10 10:00:00\"}",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order_item/t_appointment_reservation"
|
||||
},
|
||||
{
|
||||
"id": "ARTIST-002",
|
||||
"role": "设计师/美甲师",
|
||||
"module": "本人订单",
|
||||
"precondition": "订单已改派到 artisttwo",
|
||||
"steps": "artistone 查询本人订单列表",
|
||||
"expected": "不能看到已改派给他人的订单",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"list\": [{\"id\": \"322364602837282816\", \"orderNo\": \"ORD322364602833088512\", \"userId\": \"322364593597231104\", \"shopId\": \"322364589218377728\", \"shopName\": \"fd0608212143 normal shop edited\", \"totalAmount\": 138.0, \"actualAmount\": 138.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 138.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212143\", \"quoteStatus\": \"CONFIRMED\", \"quoteStatusText\": \"价格已确认\", \"quoteUserConfirmed\": true, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:21:51\", \"quoteConfirmedTime\": \"2026-06-08T21:21:51\", \"quoteMessages\": [{\"id\": \"322364602862448640\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364593597231104\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212143\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": 138.0}], \"createTime\": \"2026-06-08T21:21:51\"}, {\"id\": \"322364604095574016\", \"orderId\": \"322364602837282816\", \"actorId\": \"322364590870933504\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364602841477120\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 13",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/order/list as artistone"
|
||||
},
|
||||
{
|
||||
"id": "LINK-004",
|
||||
"role": "指尖管理师",
|
||||
"module": "新建预约联动",
|
||||
"precondition": "客户/作品/设计师存在",
|
||||
"steps": "规划端新建预约",
|
||||
"expected": "后台订单、订单项、预约占用同步生成",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"orderId\": \"322364606305972225\", \"orderNo\": \"ORD322364606305972224\", \"orderItemId\": \"322364606314360832\", \"customerId\": \"322364593597231104\", \"customerName\": \"fd0608212143 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364601348304896\", \"productTitle\": \"fd0608212143 主链路款式\", \"artistId\": \"322364591995006976\", \"artistName\": \"fd0608212143 artistone\", \"artistColor\": \"#D7A86E\", \"date\": \"2026-06-11\", \"startTime\": \"2026-06-11 14:00:00\", \"endTime\": \"2026-06-11 15:00:00\", \"startMinute\": 840, \"durationMinutes\": 60, \"status\": 1, \"statusText\": \"已确认\", \"amount\": 128.0, \"remark\": \"fd0608212143 planning\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/planning/appointments"
|
||||
},
|
||||
{
|
||||
"id": "LINK-004B",
|
||||
"role": "指尖管理师/后台",
|
||||
"module": "DB联动",
|
||||
"precondition": "规划端新建预约成功",
|
||||
"steps": "查询 t_order/t_order_item/t_appointment_reservation",
|
||||
"expected": "三表同步生成且有关联",
|
||||
"actual": "{\"order_id\": 322364606305972225, \"item_id\": 322364606314360832, \"reservation_id\": 322364606326943744, \"status\": \"CONFIRMED\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB order/item/reservation"
|
||||
},
|
||||
{
|
||||
"id": "LINK-005",
|
||||
"role": "后台店长",
|
||||
"module": "取消联动",
|
||||
"precondition": "规划端预约已生成",
|
||||
"steps": "用户端取消订单",
|
||||
"expected": "预约占用释放/状态变更",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /order/cancel/322364606305972225"
|
||||
}
|
||||
],
|
||||
"counts": {
|
||||
"t_user": 6,
|
||||
"t_shop": 4,
|
||||
"t_user_shop_binding": 5,
|
||||
"t_nail_artist_info": 2,
|
||||
"t_artist_schedule": 2,
|
||||
"t_product": 1,
|
||||
"t_order": 2,
|
||||
"t_order_item": 2,
|
||||
"t_appointment_reservation": 2,
|
||||
"t_user_agreement_consent": 2
|
||||
}
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
# Fingertip Designer 全链路用户视角验收清单 - fd0608212143
|
||||
|
||||
- 执行时间:2026-06-08T21:21:51
|
||||
- 环境:开发 MySQL 192.168.5.15 / 本地 Core http://127.0.0.1:18081
|
||||
- 数据策略:执行前已重建 nailart,本轮数据均带 runId 前缀;密钥和密码不写入报告。
|
||||
|
||||
## 汇总
|
||||
|
||||
- PASS: 43
|
||||
- FAIL: 4
|
||||
- BLOCKED: 1
|
||||
- DB counts: {'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 2, 't_product': 1, 't_order': 2, 't_order_item': 2, 't_appointment_reservation': 2, 't_user_agreement_consent': 2}
|
||||
|
||||
## 验收清单
|
||||
|
||||
| 用例编号 | 角色 | 模块 | 前置数据 | 操作步骤 | 预期结果 | 实际结果 | 状态 | 缺陷等级 | 证据 |
|
||||
|---|---|---|---|---|---|---|---|---|---|
|
||||
| ENV-001 | 环境 | Core 健康检查 | Core 18081 已启动 | GET /shop/list/simple | HTTP 200 | HTTP 200, {"code":200,"message":"操作成功","data":[{"id":"322364109750710272","shopName":"fd0608211949 normal shop edited"},{"id":"322364110585376768","shopName":"fd0608211949 other shop"}]} | PASS | P0 | http://127.0.0.1:18081 |
|
||||
| ENV-002 | 环境 | Nacos Dev 命名空间 | 仅读开发 Nacos | 登录 Nacos 读取 YumiNail-Dev | 成功读取或记录阻塞 | HTTP 500 | BLOCKED | P3 | Nacos dev host reachable; secrets redacted |
|
||||
| ENV-003 | 环境 | 数据库重建 | 已有备份 nailart_backup_fd0608202858.sql | DROP/CREATE nailart 并执行 YumiNail.sql | 初始化成功且基础权限/管理员存在 | 初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0} | PASS | - | YumiNail-Core/src/main/resources/files/YumiNail.sql |
|
||||
| ADMIN-001 | 平台管理员 | 登录 | 默认管理员 xiaowang | 账号密码登录后台 | 返回 type=4 accessToken | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "1", "account": "xiaowang", "nickname": "系统管理员", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 4, "shopId": null, "shopName": null, "shopAuthorizationExpireTime": null, "shopAuthorizationExpired": false, "shopIds": [], "shopNames": [], "createTime": "2026-06-08T21:21:46"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-002-normal | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建normal门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364589218377728"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-expired | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建expired门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364589344206848"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-disabled | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建disabled门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364589516173312"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-other | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建other门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364589629419520"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-003 | 平台管理员 | 店铺管理 | normal 门店存在 | 编辑门店资料后查询详情 | 更新成功且详情为新值 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/update/322364589218377728 |
|
||||
| ADMIN-003B | 平台管理员 | 店铺管理 | normal 门店存在 | 查询门店详情 | 返回 normal 门店详情 | {"code": 200, "message": "操作成功", "data": {"id": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "description": "normal edited", "address": "Dev 1", "mapProvider": "TENCENT", "longitude": null, "latitude": null, "navigationUrls": {}, "businessHours": "09:00-21:00", "coverImageFileId": "", "coverImageUrls": [], "imageFileIds": null, "imageUrls": [], "themePrimaryColor": "#1677FF", "themeSecondaryColor": "#F5F5F5", "themeAccentColor": "#FF7A45", "themePageBgColor": "#FFFFFF", "themeCardBgColor": "#FFFFFF", "themeBackgroundImageFileId": null, "status": 1, "authorizationStartDate": "2026-06-07", "authorizationDays": 45, "authorizationExpireTime": "2026-07-21T23:59:59", "authorizationExpired": false, "authorizationStatusText": "有效", "createTime": "2026-06-08T21:21:47", "updateTime": "2026-06-08T21:21:47"}} | PASS | - | GET /admin/shops/322364589218377728 |
|
||||
| ADMIN-004 | 平台管理员 | 店铺启停 | disabled 门店存在 | JSON body 修改门店状态为启用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364589516173312 |
|
||||
| ADMIN-004B | 平台管理员 | 店铺启停 | disabled 门店已启用 | JSON body 修改门店状态为停用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364589516173312 |
|
||||
| ADMIN-007-manager | 平台管理员 | 账号管理 | 门店已创建 | 创建manager type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364590870933504"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artistone | 平台管理员 | 账号管理 | 门店已创建 | 创建artistone type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364591995006976"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artisttwo | 平台管理员 | 账号管理 | 门店已创建 | 创建artisttwo type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364592766758912"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-customer | 平台管理员 | 账号管理 | 门店已创建 | 创建customer type=0 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364593597231104"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-othermgr | 平台管理员 | 账号管理 | 门店已创建 | 创建othermgr type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364594301874176"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-expiredmgr | 平台管理员 | 账号管理 | 门店已创建 | 创建expiredmgr type=2 | 过期/冻结门店禁止创建可登录店长,返回明确错误 | {"code": 500, "message": "店铺已被冻结", "data": null} | PASS | - | POST /admin/user/create |
|
||||
| MANAGER-001 | 指尖管理师/店长 | 登录 | manager 账号绑定 normal 门店 | 后台/管理师账号登录并选择门店 | 返回 type=2 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364590870933504", "account": "fd0608212143manager", "nickname": "fd0608212143 manager", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 2, "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364589218377728"], "shopNames": ["fd0608212143 normal shop edited"], "createTime": "2026-06-08T21:21:48"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ARTIST-001 | 设计师/美甲师 | 登录 | artistone 账号绑定 normal 门店 | 设计师账号登录 | 返回 type=3 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364591995006976", "account": "fd0608212143artistone", "nickname": "fd0608212143 artistone", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 3, "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364589218377728"], "shopNames": ["fd0608212143 normal shop edited"], "createTime": "2026-06-08T21:21:48"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-008 | 店长 | 设计师资料 | 设计师账号存在 | 保存设计师资料 | 返回保存后的设计师资料 | {"code": 200, "message": "操作成功", "data": {"id": "322364592166973440", "userId": "322364591995006976", "identity": "首席设计师", "experience": 5, "skills": "法式,渐变,手绘", "rating": 4.9, "status": 1, "participateProduction": 1, "workStartTime": "09:00:00", "workEndTime": "21:00:00", "userType": 3, "userTypeName": "美甲师", "portfolio": "", "nickname": "fd0608212143 artistone", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "signature": "fd0608212143 signature"}} | PASS | - | POST /admin/nail-artist/save |
|
||||
| ADMIN-011 | 店长 | 排班 | 设计师可用 | 保存设计师排班 | t_artist_schedule 生成记录 | {"code": 200, "message": "操作成功", "data": {"id": "322364599410536448", "shopId": "322364589218377728", "artistId": "322364591995006976", "workDate": "2026-06-10", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608212143", "createTime": "2026-06-08T21:21:49.7444319"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| ADMIN-011B | 店长 | 排班 | 规划端新建预约目标日 | 补充规划端目标日期排班 | t_artist_schedule 生成第二天排班 | {"code": 200, "message": "操作成功", "data": {"id": "322364599733497856", "shopId": "322364589218377728", "artistId": "322364591995006976", "workDate": "2026-06-11", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608212143-planning", "createTime": "2026-06-08T21:21:49.8228393"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| USER-001 | 普通用户 | 协议 | 匿名可访问 | 读取当前用户协议版本 | 返回 USER_TERMS 和 PRIVACY_POLICY | {"code": 200, "message": "操作成功", "data": [{"id": "313931273555138001", "agreementType": "USER_TERMS", "agreementTypeName": "用户协议", "title": "用户协议", "version": "2026.05.18", "content": "欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:21:47", "createTime": "2026-06-08T21:21:47", "updateTime": "2026-06-08T21:21:47"}, {"id": "313931273555138002", "agreementType": "PRIVACY_POLICY", "agreementTypeName": "隐私政策", "title": "隐私政策", "version": "2026.05.18", "content": "Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:21:47", "createTime": "2026-06-08T21:21:47", "updateTime": "2026-06-08T21:21:47"}]} | PASS | P0 | GET /legal-agreement/current |
|
||||
| USER-003 | 普通用户 | 登录 | 普通用户账号已创建并提交当前协议版本 | 账号密码登录用户端 | 返回 accessToken 并写入协议同意记录 | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364593597231104", "account": "fd0608212143customer", "nickname": "fd0608212143 customer", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 0, "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364589218377728"], "shopNames": ["fd0608212143 normal shop edited"], "createTime": "2026-06-08T21:21:48"}, "needSetPassword": false}} | PASS | P0 | POST /user/login |
|
||||
| USER-003B | 普通用户 | 协议留痕 | 用户登录成功 | 查询 t_user_agreement_consent | 至少 2 条同意记录 | consent_count=2 | PASS | P1 | DB t_user_agreement_consent |
|
||||
| ADMIN-012 | 店长 | 作品管理 | normal 门店和设计师可用 | 创建可预约作品 | 返回 productId 且用户端可见 | {"code": 200, "message": "操作成功", "data": "322364601348304896"} | PASS | - | POST /admin/product/create |
|
||||
| USER-004 | 普通用户 | 浏览 | 作品已上架 | 匿名查询作品详情 | 详情返回数据 | {"code": 200, "message": "操作成功", "data": {"id": "322364601348304896", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "title": "fd0608212143 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364591995006976", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:21:50", "updateTime": "2026-06-08T21:21:50"}} | PASS | - | GET /product/get/322364601348304896 |
|
||||
| USER-004B | 普通用户 | 浏览 | 作品已上架 | 匿名查询门店作品列表 | 列表包含新建作品 | {"code": 200, "message": "操作成功", "data": [{"id": "322364601348304896", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "title": "fd0608212143 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364591995006976", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:21:50", "updateTime": "2026-06-08T21:21:50"}]} | PASS | P1 | GET /product/list/shop/322364589218377728 |
|
||||
| USER-005 | 普通用户 | 收藏 | 用户已登录,作品存在 | 收藏作品 | 收藏成功 | {"code": 200, "message": "操作成功", "data": "ok"} | PASS | - | POST /wishlist/add |
|
||||
| USER-005B | 普通用户 | 收藏 | 作品已收藏 | 查询收藏状态 | 返回已收藏 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | GET /wishlist/check |
|
||||
| USER-005C | 普通用户 | 购物车 | 用户已登录,作品存在 | 加入购物车 | 购物车新增该作品,供结算/下单使用 | {"code": 200, "message": "操作成功", "data": null} | PASS | - | POST /cart/add |
|
||||
| USER-005D | 普通用户 | 购物车 | 作品已加入购物车 | 查询购物车列表 | 列表包含新建作品及可预约设计师 | {"code": 200, "message": "操作成功", "data": [{"id": "322364602166194176", "productId": "322364601348304896", "shopId": "322364589218377728", "productTitle": "fd0608212143 主链路款式", "productImage": null, "price": 128.0, "quantity": 1, "totalPrice": 128.0, "tags": "法式,测试", "tagNames": "", "approximateDuration": "60分钟", "bookableArtists": "322364591995006976", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableArtists": [{"id": "322364591995006976", "name": "fd0608212143 artistone", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "userType": 3, "roleLabel": "美甲师", "participateProduction": false}]}]} | PASS | - | GET /cart/list |
|
||||
| USER-006 | 普通用户 | 结算预览 | 用户已登录,作品可预约 | checkout-preview | 返回金额和可用优惠信息 | {"code": 200, "message": "操作成功", "data": {"subtotalAmount": 128.0, "savedAmount": 0.0, "payableAmount": 128.0, "bestCoupon": null, "availableCoupons": [], "unavailableCoupons": [{"id": "322364589235154944", "couponId": "322364589235154944", "userCouponId": null, "sourceType": "SYSTEM_VIP", "couponName": "青铜VIP自动95折券", "couponType": 1, "couponTypeName": "折扣券", "discountValue": 9.5, "minAmount": 0.0, "reduceAmount": 0.0, "discountAmount": 0.0, "available": false, "best": false, "vipAuto": true, "displayText": "VIP自动优惠:青铜VIP自动95折券,9.5折", "savingText": null, "unavailableReason": "本单商品暂不适用", "startTime": "2026-06-08T21:21:47", "endTime": "2099-12-31T23:59:59"}, {"id": "322364589243543552", "couponId": "322364589243543552", "userCouponId": null, "sourceType": "SYSTEM_VIP", "couponName": "白银VIP自动92折券", "couponType": 1, "couponTypeName": "折扣券", "discountValue": 9.2, "minAmount": 0.0, "reduceAmou | PASS | - | POST /order/checkout-preview |
|
||||
| USER-007 | 普通用户 | 下单 | 用户已登录,作品/设计师/排班可用 | 创建订单 | 返回订单、订单项,DB 生成 t_order/t_order_item | {"code": 200, "message": "操作成功", "data": {"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": null, "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": null, "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": false, "quoteExpireTime": "2026-06-09T21:21:50.5600502", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE" | PASS | - | POST /order/create |
|
||||
| USER-007B | 普通用户 | DB核验 | 订单创建成功 | 查询 t_order/t_order_item | 订单项设计师和预约时间一致 | {"status": 0, "quote_status": "CONFIRMING", "artist_id": 322364591995006976, "appointment_time": "2026-06-10 10:00:00"} | PASS | P0 | DB t_order + t_order_item |
|
||||
| EDGE-001 | 普通用户 | 预约冲突 | 已有同设计师同时间订单占用 | 重复提交同时间预约 | 应拦截重复占用/冲突或操作幂等保护 | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} | FAIL | P0 | POST /order/create duplicate |
|
||||
| LINK-001 | 店长 | 报价联动 | 用户订单已创建 | 店长提交报价 | 订单 quote_status 更新为 WAIT_USER/PROCESSING | {"code": 200, "message": "操作成功", "data": {"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:21:51", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "act | PASS | - | POST /admin/order/322364602837282816/quote |
|
||||
| LINK-002 | 店长 | 报价联动 | 店长已提交报价 | 店长确认报价 | 订单 quote_shop_confirmed=1 | {"code": 200, "message": "操作成功", "data": {"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:21:51", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "act | PASS | - | PUT /admin/order/322364602837282816/quote/confirm |
|
||||
| LINK-003 | 普通用户 | 报价联动 | 店长已确认报价 | 用户确认报价 | 订单 quote_user_confirmed=1,并生成预约占用 | {"code": 200, "message": "操作成功", "data": {"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 138.0, "actualAmount": 138.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 138.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMED", "quoteStatusText": "价格已确认", "quoteUserConfirmed": true, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:21:51", "quoteConfirmedTime": "2026-06-08T21:21:51", "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", "action": | PASS | - | PUT /order/322364602837282816/quote/confirm |
|
||||
| LINK-003B | 普通用户/店长 | DB联动 | 用户确认报价后 | 查询订单项和预约占用 | 报价确认、预约占用生成且时间/设计师一致 | {"quote_status": "CONFIRMED", "quote_user_confirmed": 1, "quote_shop_confirmed": 1, "confirmed_price": "138.00", "ar_status": "CONFIRMED", "artist_id": 322364591995006976, "appointment_start_time": "2026-06-10 10:00:00", "appointment_end_time": "2026-06-10 11:00:00"} | PASS | P0 | DB t_order/t_order_item/t_appointment_reservation |
|
||||
| MANAGER-002 | 指尖管理师 | 日/周/月规划 | 订单已确认报价并生成占用 | 查询 planning calendar 日视图 | 返回包含该预约/单量 | {"code": 200, "message": "操作成功", "data": {"businessStartTime": "09:00", "businessEndTime": "21:00", "slotMinutes": 30, "artists": [{"id": "322364591995006976", "name": "fd0608212143 artistone", "shortName": "F", "phone": "19100000002", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "color": "#D7A86E", "status": 1, "statusText": "可预约", "workStartTime": "09:00", "workEndTime": "21:00", "rangeCount": 1}], "schedules": [{"id": "322364599410536448", "artistId": "322364591995006976", "artistName": "fd0608212143 artistone", "date": "2026-06-10", "startTime": "09:00", "endTime": "21:00", "capacity": 1, "status": 1, "statusText": "可预约", "remark": "fd0608212143"}], "appointments": [{"orderId": "322364602837282816", "orderNo": "ORD322364602833088512", "orderItemId": "322364602841477120", "customerId": "322364593597231104", "customerName": "fd0608212143 customer", " | PASS | P0 | GET /admin/planning/calendar |
|
||||
| MANAGER-003 | 指尖管理师 | 改时间/改派 | 订单预约已存在 | 改派到 artisttwo 并改到 11:00 | 订单项和预约占用同步更新 | {"code": 500, "message": "涓嶅彲棰勭害", "data": null} | FAIL | P0 | PUT /admin/planning/appointments/322364602841477120/time-artist |
|
||||
| MANAGER-003B | 指尖管理师 | DB联动 | 改派接口已执行 | 查询订单项/预约占用 | artist_id 和 appointment_time 均同步为新值 | {"artist_id": 322364591995006976, "appointment_time": "2026-06-10 10:00:00", "ar_artist": 322364591995006976, "appointment_start_time": "2026-06-10 10:00:00"} | FAIL | P0 | DB t_order_item/t_appointment_reservation |
|
||||
| ARTIST-002 | 设计师/美甲师 | 本人订单 | 订单已改派到 artisttwo | artistone 查询本人订单列表 | 不能看到已改派给他人的订单 | {"code": 200, "message": "操作成功", "data": {"list": [{"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 138.0, "actualAmount": 138.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 138.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMED", "quoteStatusText": "价格已确认", "quoteUserConfirmed": true, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:21:51", "quoteConfirmedTime": "2026-06-08T21:21:51", "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", | FAIL | P0 | GET /admin/order/list as artistone |
|
||||
| LINK-004 | 指尖管理师 | 新建预约联动 | 客户/作品/设计师存在 | 规划端新建预约 | 后台订单、订单项、预约占用同步生成 | {"code": 200, "message": "操作成功", "data": {"orderId": "322364606305972225", "orderNo": "ORD322364606305972224", "orderItemId": "322364606314360832", "customerId": "322364593597231104", "customerName": "fd0608212143 customer", "customerPhone": "19100000004", "productId": "322364601348304896", "productTitle": "fd0608212143 主链路款式", "artistId": "322364591995006976", "artistName": "fd0608212143 artistone", "artistColor": "#D7A86E", "date": "2026-06-11", "startTime": "2026-06-11 14:00:00", "endTime": "2026-06-11 15:00:00", "startMinute": 840, "durationMinutes": 60, "status": 1, "statusText": "已确认", "amount": 128.0, "remark": "fd0608212143 planning"}} | PASS | - | POST /admin/planning/appointments |
|
||||
| LINK-004B | 指尖管理师/后台 | DB联动 | 规划端新建预约成功 | 查询 t_order/t_order_item/t_appointment_reservation | 三表同步生成且有关联 | {"order_id": 322364606305972225, "item_id": 322364606314360832, "reservation_id": 322364606326943744, "status": "CONFIRMED"} | PASS | P0 | DB order/item/reservation |
|
||||
| LINK-005 | 后台店长 | 取消联动 | 规划端预约已生成 | 用户端取消订单 | 预约占用释放/状态变更 | {"code": 200, "message": "操作成功", "data": null} | PASS | - | PUT /order/cancel/322364606305972225 |
|
||||
|
||||
## 失败 / 阻塞项
|
||||
|
||||
| 用例编号 | 等级 | 状态 | 复现/证据 |
|
||||
|---|---|---|---|
|
||||
| ENV-002 | P3 | BLOCKED | HTTP 500 / Nacos dev host reachable; secrets redacted |
|
||||
| EDGE-001 | P0 | FAIL | {"code": 500, "message": "请先将商品加入购物车后再结算", "data": null} / POST /order/create duplicate |
|
||||
| MANAGER-003 | P0 | FAIL | {"code": 500, "message": "涓嶅彲棰勭害", "data": null} / PUT /admin/planning/appointments/322364602841477120/time-artist |
|
||||
| MANAGER-003B | P0 | FAIL | {"artist_id": 322364591995006976, "appointment_time": "2026-06-10 10:00:00", "ar_artist": 322364591995006976, "appointment_start_time": "2026-06-10 10:00:00"} / DB t_order_item/t_appointment_reservation |
|
||||
| ARTIST-002 | P0 | FAIL | {"code": 200, "message": "操作成功", "data": {"list": [{"id": "322364602837282816", "orderNo": "ORD322364602833088512", "userId": "322364593597231104", "shopId": "322364589218377728", "shopName": "fd0608212143 normal shop edited", "totalAmount": 138.0, "actualAmount": 138.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 138.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212143", "quoteStatus": "CONFIRMED", "quoteStatusText": "价格已确认", "quoteUserConfirmed": true, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:21:51", "quoteConfirmedTime": "2026-06-08T21:21:51", "quoteMessages": [{"id": "322364602862448640", "orderId": "322364602837282816", "actorId": "322364593597231104", "actorType": "USER", "actorTypeText": "用户", / GET /admin/order/list as artistone |
|
||||
@@ -1,755 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608212248",
|
||||
"executedAt": "2026-06-08T21:22:56",
|
||||
"summary": {
|
||||
"PASS": 55,
|
||||
"FAIL": 1,
|
||||
"BLOCKED": 2
|
||||
},
|
||||
"state": {
|
||||
"runId": "fd0608212248",
|
||||
"baseUrl": "http://127.0.0.1:18081",
|
||||
"ids": {
|
||||
"normalShop": "322364862611501056",
|
||||
"expiredShop": "322364862804439040",
|
||||
"disabledShop": "322364862993182720",
|
||||
"otherShop": "322364863198703616",
|
||||
"manager": "322364864406663168",
|
||||
"artist1": "322364865383936000",
|
||||
"artist2": "322364866101161984",
|
||||
"customer": "322364866830970880",
|
||||
"otherManager": "322364867397201920",
|
||||
"product": "322364872862380032",
|
||||
"order": "322364874066145281",
|
||||
"orderItem": "322364874070339584"
|
||||
},
|
||||
"tokens": {
|
||||
"platformAdmin": "***"
|
||||
},
|
||||
"db": {
|
||||
"initStatements": 386,
|
||||
"finalCounts": {
|
||||
"t_user": 6,
|
||||
"t_shop": 4,
|
||||
"t_user_shop_binding": 5,
|
||||
"t_nail_artist_info": 2,
|
||||
"t_artist_schedule": 3,
|
||||
"t_product": 1,
|
||||
"t_order": 3,
|
||||
"t_order_item": 3,
|
||||
"t_appointment_reservation": 2,
|
||||
"t_user_agreement_consent": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"id": "ENV-001",
|
||||
"role": "环境",
|
||||
"module": "Core 健康检查",
|
||||
"precondition": "Core 18081 已启动",
|
||||
"steps": "GET /shop/list/simple",
|
||||
"expected": "HTTP 200",
|
||||
"actual": "HTTP 200, {\"code\":200,\"message\":\"操作成功\",\"data\":[{\"id\":\"322364589629419520\",\"shopName\":\"fd0608212143 other shop\"},{\"id\":\"322364589218377728\",\"shopName\":\"fd0608212143 normal shop edited\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "http://127.0.0.1:18081"
|
||||
},
|
||||
{
|
||||
"id": "ENV-002",
|
||||
"role": "环境",
|
||||
"module": "Nacos Dev 命名空间",
|
||||
"precondition": "仅读开发 Nacos",
|
||||
"steps": "登录 Nacos 读取 YumiNail-Dev",
|
||||
"expected": "成功读取或记录阻塞",
|
||||
"actual": "HTTP 500",
|
||||
"status": "BLOCKED",
|
||||
"priority": "P3",
|
||||
"evidence": "Nacos dev host reachable; secrets redacted"
|
||||
},
|
||||
{
|
||||
"id": "ENV-003",
|
||||
"role": "环境",
|
||||
"module": "数据库重建",
|
||||
"precondition": "已有备份 nailart_backup_fd0608202858.sql",
|
||||
"steps": "DROP/CREATE nailart 并执行 YumiNail.sql",
|
||||
"expected": "初始化成功且基础权限/管理员存在",
|
||||
"actual": "初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "YumiNail-Core/src/main/resources/files/YumiNail.sql"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-001",
|
||||
"role": "平台管理员",
|
||||
"module": "登录",
|
||||
"precondition": "默认管理员 xiaowang",
|
||||
"steps": "账号密码登录后台",
|
||||
"expected": "返回 type=4 accessToken",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"1\", \"account\": \"xiaowang\", \"nickname\": \"系统管理员\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 4, \"shopId\": null, \"shopName\": null, \"shopAuthorizationExpireTime\": null, \"shopAuthorizationExpired\": false, \"shopIds\": [], \"shopNames\": [], \"createTime\": \"2026-06-08T21:22:51\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-normal",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建normal门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364862611501056\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-expired",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建expired门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364862804439040\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-disabled",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建disabled门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364862993182720\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-002-other",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "平台管理员已登录",
|
||||
"steps": "创建other门店",
|
||||
"expected": "返回门店ID且 t_shop 可查",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364863198703616\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/shops/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "编辑门店资料后查询详情",
|
||||
"expected": "更新成功且详情为新值",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/update/322364862611501056"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-003B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺管理",
|
||||
"precondition": "normal 门店存在",
|
||||
"steps": "查询门店详情",
|
||||
"expected": "返回 normal 门店详情",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"description\": \"normal edited\", \"address\": \"Dev 1\", \"mapProvider\": \"TENCENT\", \"longitude\": null, \"latitude\": null, \"navigationUrls\": {}, \"businessHours\": \"09:00-21:00\", \"coverImageFileId\": \"\", \"coverImageUrls\": [], \"imageFileIds\": null, \"imageUrls\": [], \"themePrimaryColor\": \"#1677FF\", \"themeSecondaryColor\": \"#F5F5F5\", \"themeAccentColor\": \"#FF7A45\", \"themePageBgColor\": \"#FFFFFF\", \"themeCardBgColor\": \"#FFFFFF\", \"themeBackgroundImageFileId\": null, \"status\": 1, \"authorizationStartDate\": \"2026-06-07\", \"authorizationDays\": 45, \"authorizationExpireTime\": \"2026-07-21T23:59:59\", \"authorizationExpired\": false, \"authorizationStatusText\": \"有效\", \"createTime\": \"2026-06-08T21:22:52\", \"updateTime\": \"2026-06-08T21:22:52\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /admin/shops/322364862611501056"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店存在",
|
||||
"steps": "JSON body 修改门店状态为启用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364862993182720"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-004B",
|
||||
"role": "平台管理员",
|
||||
"module": "店铺启停",
|
||||
"precondition": "disabled 门店已启用",
|
||||
"steps": "JSON body 修改门店状态为停用",
|
||||
"expected": "状态更新成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/shops/status/322364862993182720"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-manager",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建manager type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364864406663168\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artistone",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artistone type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364865383936000\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-artisttwo",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建artisttwo type=3",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364866101161984\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-customer",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建customer type=0",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364866830970880\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-othermgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建othermgr type=2",
|
||||
"expected": "返回用户ID、默认权限和门店绑定写入",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364867397201920\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-007-expiredmgr",
|
||||
"role": "平台管理员",
|
||||
"module": "账号管理",
|
||||
"precondition": "门店已创建",
|
||||
"steps": "创建expiredmgr type=2",
|
||||
"expected": "过期/冻结门店禁止创建可登录店长,返回明确错误",
|
||||
"actual": "{\"code\": 500, \"message\": \"店铺已被冻结\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/user/create"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-001",
|
||||
"role": "指尖管理师/店长",
|
||||
"module": "登录",
|
||||
"precondition": "manager 账号绑定 normal 门店",
|
||||
"steps": "后台/管理师账号登录并选择门店",
|
||||
"expected": "返回 type=2 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364864406663168\", \"account\": \"fd0608212248manager\", \"nickname\": \"fd0608212248 manager\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 2, \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364862611501056\"], \"shopNames\": [\"fd0608212248 normal shop edited\"], \"createTime\": \"2026-06-08T21:22:53\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "UI-001",
|
||||
"role": "后台店长",
|
||||
"module": "管理后台真实页面烟测",
|
||||
"precondition": "Core http://127.0.0.1:18081 已启动;Vite http://127.0.0.1:3000 已启动;fd0608212248manager 已绑定 normal 店铺",
|
||||
"steps": "浏览器打开 /admin/login,输入店长账号密码,等待登录店铺匹配,点击登录并进入仪表盘",
|
||||
"expected": "登录页可见;成功进入 /admin/dashboard;当前店铺、店长、订单/作品/美甲师统计和后台菜单可见",
|
||||
"actual": "webStatus=PASS; route=http://127.0.0.1:3000/admin/dashboard; content=指尖设计师管理台\n首页\n仪表盘\n用户管理\n作品管理\n优惠券管理\n评论管理\n店铺管理\n权限管理\n标签管理\n订单管理\n排班管理\n售后处理\n库存管理\n活动管理\n美甲师管理\n消息发布\n公告管理\nVIP充值配置\nfd0608212248 normal shop edited\nfd0608212248 manager\n仪表盘\n当前店铺:fd0608212248 normal shop edited\n订单总额\n394.00元\n今日订单额\n394.00元\n客户数量\n1\n美甲师数量\n2\n浏览量\n0\n收藏量\n1\n加购量\n0\n下单量\n3\n支付订单\n0\n完成订单\n0\n评价数\n0\n复购数\n0\n经营概览\n近 7 日订单额\n¥394.00\n今日订单数\n3\n近 7 日新增订单\n3\n待处理订单\n2\n已完成订单\n0\n今日新增客户\n1\n近 7 日新增客户\n1\n作品数量\n1\n快捷跳转\n订单管理\n用户管理\n作品管理\n优惠券管理\n消息发布\n美甲师管理\n热门作品\nfd0608212248 主链路款式\n点赞 0 · 收藏 1\n¥128.00\n最近动态\n\n新品上架\n\n新品\"fd0608212248 主链路款式\"已上架\n\n14 分钟前\n",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "E:/yuminail/artifacts/full-regression/web_smoke_fd0608212248.json; E:\\yuminail\\artifacts\\full-regression\\web_admin_login_fd0608212248.png; E:\\yuminail\\artifacts\\full-regression\\web_admin_dashboard_fd0608212248.png"
|
||||
},
|
||||
{
|
||||
"id": "ARTIST-001",
|
||||
"role": "设计师/美甲师",
|
||||
"module": "登录",
|
||||
"precondition": "artistone 账号绑定 normal 门店",
|
||||
"steps": "设计师账号登录",
|
||||
"expected": "返回 type=3 shopId=normal",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364865383936000\", \"account\": \"fd0608212248artistone\", \"nickname\": \"fd0608212248 artistone\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 3, \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364862611501056\"], \"shopNames\": [\"fd0608212248 normal shop edited\"], \"createTime\": \"2026-06-08T21:22:53\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /admin/auth/login"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-008",
|
||||
"role": "店长",
|
||||
"module": "设计师资料",
|
||||
"precondition": "设计师账号存在",
|
||||
"steps": "保存设计师资料",
|
||||
"expected": "返回保存后的设计师资料",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364865551708160\", \"userId\": \"322364865383936000\", \"identity\": \"首席设计师\", \"experience\": 5, \"skills\": \"法式,渐变,手绘\", \"rating\": 4.9, \"status\": 1, \"participateProduction\": 1, \"workStartTime\": \"09:00:00\", \"workEndTime\": \"21:00:00\", \"userType\": 3, \"userTypeName\": \"美甲师\", \"portfolio\": \"\", \"nickname\": \"fd0608212248 artistone\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"signature\": \"fd0608212248 signature\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/nail-artist/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "设计师可用",
|
||||
"steps": "保存设计师排班",
|
||||
"expected": "t_artist_schedule 生成记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364871461482496\", \"shopId\": \"322364862611501056\", \"artistId\": \"322364865383936000\", \"workDate\": \"2026-06-10\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608212248\", \"createTime\": \"2026-06-08T21:22:54.6071876\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011B",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "规划端新建预约目标日",
|
||||
"steps": "补充规划端目标日期排班",
|
||||
"expected": "t_artist_schedule 生成第二天排班",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364871650226176\", \"shopId\": \"322364862611501056\", \"artistId\": \"322364865383936000\", \"workDate\": \"2026-06-11\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608212248-planning\", \"createTime\": \"2026-06-08T21:22:54.651676\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-011C",
|
||||
"role": "店长",
|
||||
"module": "排班",
|
||||
"precondition": "改派目标设计师",
|
||||
"steps": "给 artisttwo 补充同日排班",
|
||||
"expected": "改派目标日有可用容量",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364871838969856\", \"shopId\": \"322364862611501056\", \"artistId\": \"322364866101161984\", \"workDate\": \"2026-06-10\", \"startTime\": \"09:00:00\", \"endTime\": \"21:00:00\", \"slotMinutes\": 60, \"capacity\": 1, \"status\": 1, \"remark\": \"fd0608212248-move-target\", \"createTime\": \"2026-06-08T21:22:54.6964448\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/artist-schedule/save"
|
||||
},
|
||||
{
|
||||
"id": "USER-001",
|
||||
"role": "普通用户",
|
||||
"module": "协议",
|
||||
"precondition": "匿名可访问",
|
||||
"steps": "读取当前用户协议版本",
|
||||
"expected": "返回 USER_TERMS 和 PRIVACY_POLICY",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"313931273555138001\", \"agreementType\": \"USER_TERMS\", \"agreementTypeName\": \"用户协议\", \"title\": \"用户协议\", \"version\": \"2026.05.18\", \"content\": \"欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:22:52\", \"createTime\": \"2026-06-08T21:22:52\", \"updateTime\": \"2026-06-08T21:22:52\"}, {\"id\": \"313931273555138002\", \"agreementType\": \"PRIVACY_POLICY\", \"agreementTypeName\": \"隐私政策\", \"title\": \"隐私政策\", \"version\": \"2026.05.18\", \"content\": \"Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。\", \"status\": 1, \"statusText\": \"已发布\", \"effectiveTime\": \"2026-06-08T21:22:52\", \"createTime\": \"2026-06-08T21:22:52\", \"updateTime\": \"2026-06-08T21:22:52\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /legal-agreement/current"
|
||||
},
|
||||
{
|
||||
"id": "USER-003",
|
||||
"role": "普通用户",
|
||||
"module": "登录",
|
||||
"precondition": "普通用户账号已创建并提交当前协议版本",
|
||||
"steps": "账号密码登录用户端",
|
||||
"expected": "返回 accessToken 并写入协议同意记录",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"accessToken\": \"***\", \"refreshToken\": \"***\", \"userInfo\": {\"id\": \"322364866830970880\", \"account\": \"fd0608212248customer\", \"nickname\": \"fd0608212248 customer\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"type\": 0, \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"shopAuthorizationExpireTime\": \"2026-07-21T23:59:59\", \"shopAuthorizationExpired\": false, \"shopIds\": [\"322364862611501056\"], \"shopNames\": [\"fd0608212248 normal shop edited\"], \"createTime\": \"2026-06-08T21:22:54\"}, \"needSetPassword\": false}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /user/login"
|
||||
},
|
||||
{
|
||||
"id": "USER-003B",
|
||||
"role": "普通用户",
|
||||
"module": "协议留痕",
|
||||
"precondition": "用户登录成功",
|
||||
"steps": "查询 t_user_agreement_consent",
|
||||
"expected": "至少 2 条同意记录",
|
||||
"actual": "consent_count=2",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "DB t_user_agreement_consent"
|
||||
},
|
||||
{
|
||||
"id": "ADMIN-012",
|
||||
"role": "店长",
|
||||
"module": "作品管理",
|
||||
"precondition": "normal 门店和设计师可用",
|
||||
"steps": "创建可预约作品",
|
||||
"expected": "返回 productId 且用户端可见",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"322364872862380032\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/product/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-004",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询作品详情",
|
||||
"expected": "详情返回数据",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364872862380032\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"title\": \"fd0608212248 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364865383936000\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:22:55\", \"updateTime\": \"2026-06-08T21:22:55\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /product/get/322364872862380032"
|
||||
},
|
||||
{
|
||||
"id": "USER-004B",
|
||||
"role": "普通用户",
|
||||
"module": "浏览",
|
||||
"precondition": "作品已上架",
|
||||
"steps": "匿名查询门店作品列表",
|
||||
"expected": "列表包含新建作品",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"322364872862380032\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"title\": \"fd0608212248 主链路款式\", \"description\": \"全链路测试作品\", \"targetAudience\": \"通勤\", \"precautions\": \"无\", \"imageFileIds\": \"\", \"imageUrls\": [], \"price\": 128.0, \"tags\": \"法式,测试\", \"tagList\": [], \"tagInfos\": [], \"likeCount\": 0, \"collectCount\": 0, \"approximateDuration\": \"60分钟\", \"serviceDurationMinutes\": \"60\", \"bookableArtists\": \"322364865383936000\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableCoupons\": \"\", \"createTime\": \"2026-06-08T21:22:55\", \"updateTime\": \"2026-06-08T21:22:55\"}]}",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "GET /product/list/shop/322364862611501056"
|
||||
},
|
||||
{
|
||||
"id": "USER-005",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "用户已登录,作品存在",
|
||||
"steps": "收藏作品",
|
||||
"expected": "收藏成功",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": \"ok\"}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /wishlist/add"
|
||||
},
|
||||
{
|
||||
"id": "USER-005B",
|
||||
"role": "普通用户",
|
||||
"module": "收藏",
|
||||
"precondition": "作品已收藏",
|
||||
"steps": "查询收藏状态",
|
||||
"expected": "返回已收藏",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": true}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /wishlist/check"
|
||||
},
|
||||
{
|
||||
"id": "USER-005C",
|
||||
"role": "普通用户",
|
||||
"module": "购物车",
|
||||
"precondition": "用户已登录,作品存在",
|
||||
"steps": "加入购物车",
|
||||
"expected": "购物车新增该作品,供结算/下单使用",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /cart/add"
|
||||
},
|
||||
{
|
||||
"id": "USER-005D",
|
||||
"role": "普通用户",
|
||||
"module": "购物车",
|
||||
"precondition": "作品已加入购物车",
|
||||
"steps": "查询购物车列表",
|
||||
"expected": "列表包含新建作品及可预约设计师",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": [{\"id\": \"322364873650909184\", \"productId\": \"322364872862380032\", \"shopId\": \"322364862611501056\", \"productTitle\": \"fd0608212248 主链路款式\", \"productImage\": null, \"price\": 128.0, \"quantity\": 1, \"totalPrice\": 128.0, \"tags\": \"法式,测试\", \"tagNames\": \"\", \"approximateDuration\": \"60分钟\", \"bookableArtists\": \"322364865383936000\", \"availableBookableArtistCount\": 1, \"bookableArtistRestricted\": true, \"availableArtists\": [{\"id\": \"322364865383936000\", \"name\": \"fd0608212248 artistone\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"userType\": 3, \"roleLabel\": \"美甲师\", \"participateProduction\": false}]}]}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "GET /cart/list"
|
||||
},
|
||||
{
|
||||
"id": "USER-006",
|
||||
"role": "普通用户",
|
||||
"module": "结算预览",
|
||||
"precondition": "用户已登录,作品可预约",
|
||||
"steps": "checkout-preview",
|
||||
"expected": "返回金额和可用优惠信息",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"subtotalAmount\": 128.0, \"savedAmount\": 0.0, \"payableAmount\": 128.0, \"bestCoupon\": null, \"availableCoupons\": [], \"unavailableCoupons\": [{\"id\": \"322364862628278272\", \"couponId\": \"322364862628278272\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"青铜VIP自动95折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.5, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:青铜VIP自动95折券,9.5折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:22:52\", \"endTime\": \"2099-12-31T23:59:59\"}, {\"id\": \"322364862640861184\", \"couponId\": \"322364862640861184\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"白银VIP自动92折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.2, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:白银VIP自动92折券,9.2折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:22:52\", \"endTime\": \"2099-12-31T23:59:59\"}, {\"id\": \"322364862653444096\", \"couponId\": \"322364862653444096\", \"userCouponId\": null, \"sourceType\": \"SYSTEM_VIP\", \"couponName\": \"黄金VIP自动90折券\", \"couponType\": 1, \"couponTypeName\": \"折扣券\", \"discountValue\": 9.0, \"minAmount\": 0.0, \"reduceAmount\": 0.0, \"discountAmount\": 0.0, \"available\": false, \"best\": false, \"vipAuto\": true, \"displayText\": \"VIP自动优惠:黄金VIP自动90折券,9折\", \"savingText\": null, \"unavailableReason\": \"本单商品暂不适用\", \"startTime\": \"2026-06-08T21:22:52\"",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /order/checkout-preview"
|
||||
},
|
||||
{
|
||||
"id": "USER-007",
|
||||
"role": "普通用户",
|
||||
"module": "下单",
|
||||
"precondition": "用户已登录,作品/设计师/排班可用",
|
||||
"steps": "创建订单",
|
||||
"expected": "返回订单、订单项,DB 生成 t_order/t_order_item",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": null, \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": null, \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": false, \"quoteExpireTime\": \"2026-06-09T21:22:55.2273918\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364874087116800\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": null, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:22:55\"}], \"customerNickname\": \"fd0608212248 customer\", \"customerPhoneMasked\": \"191****0004\", \"artistOrderSource\": null, \"artistOrderSourceText\": null, \"status\": 0, \"statusText\": \"确认价格中\", \"createTime\": null, \"items\": [{\"id\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"productImage\": null, \"quantity\": 1, \"price\": 128.0, \"referencePrice\": 128.0, \"quotedPrice\":",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /order/create"
|
||||
},
|
||||
{
|
||||
"id": "USER-007B",
|
||||
"role": "普通用户",
|
||||
"module": "DB核验",
|
||||
"precondition": "订单创建成功",
|
||||
"steps": "查询 t_order/t_order_item",
|
||||
"expected": "订单项设计师和预约时间一致",
|
||||
"actual": "{\"status\": 0, \"quote_status\": \"CONFIRMING\", \"artist_id\": 322364865383936000, \"appointment_time\": \"2026-06-10 10:00:00\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order + t_order_item"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-001A",
|
||||
"role": "普通用户",
|
||||
"module": "预约冲突",
|
||||
"precondition": "首单已创建且购物车已被清空",
|
||||
"steps": "重新加入同作品以验证重复预约冲突",
|
||||
"expected": "加购成功,下一步应进入预约冲突校验",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /cart/add"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-001",
|
||||
"role": "普通用户",
|
||||
"module": "预约冲突",
|
||||
"precondition": "已有同设计师同时间订单占用",
|
||||
"steps": "重复提交同时间预约",
|
||||
"expected": "应拦截重复占用/冲突或操作幂等保护",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364874519130113\", \"orderNo\": \"ORD322364874519130112\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": null, \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": null, \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": false, \"quoteExpireTime\": \"2026-06-09T21:22:55.3353326\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364874540101632\", \"orderId\": \"322364874519130113\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874523324416\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": null, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:22:55\"}], \"customerNickname\": \"fd0608212248 customer\", \"customerPhoneMasked\": \"191****0004\", \"artistOrderSource\": null, \"artistOrderSourceText\": null, \"status\": 0, \"statusText\": \"确认价格中\", \"createTime\": null, \"items\": [{\"id\": \"322364874523324416\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"productImage\": null, \"quantity\": 1, \"price\": 128.0, \"referencePrice\": 128.0, \"quotedPrice\":",
|
||||
"status": "FAIL",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /order/create duplicate"
|
||||
},
|
||||
{
|
||||
"id": "LINK-001",
|
||||
"role": "店长",
|
||||
"module": "报价联动",
|
||||
"precondition": "用户订单已创建",
|
||||
"steps": "店长提交报价",
|
||||
"expected": "订单 quote_status 更新为 WAIT_USER/PROCESSING",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:22:55\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364874087116800\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:22:55\"}, {\"id\": \"322364874913394688\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364864406663168\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": nul",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/order/322364874066145281/quote"
|
||||
},
|
||||
{
|
||||
"id": "LINK-002",
|
||||
"role": "店长",
|
||||
"module": "报价联动",
|
||||
"precondition": "店长已提交报价",
|
||||
"steps": "店长确认报价",
|
||||
"expected": "订单 quote_shop_confirmed=1",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:22:55\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364874087116800\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:22:55\"}, {\"id\": \"322364874913394688\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364864406663168\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": nul",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/order/322364874066145281/quote/confirm"
|
||||
},
|
||||
{
|
||||
"id": "LINK-003",
|
||||
"role": "普通用户",
|
||||
"module": "报价联动",
|
||||
"precondition": "店长已确认报价",
|
||||
"steps": "用户确认报价",
|
||||
"expected": "订单 quote_user_confirmed=1,并生成预约占用",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"id\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 138.0, \"actualAmount\": 138.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 138.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMED\", \"quoteStatusText\": \"价格已确认\", \"quoteUserConfirmed\": true, \"quoteShopConfirmed\": true, \"quoteExpireTime\": \"2026-06-09T21:22:55\", \"quoteConfirmedTime\": \"2026-06-08T21:22:56\", \"quoteMessages\": [{\"id\": \"322364874087116800\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"confirmedPrice\": 138.0}], \"createTime\": \"2026-06-08T21:22:55\"}, {\"id\": \"322364874913394688\", \"orderId\": \"322364874066145281\", \"actorId\": \"322364864406663168\", \"actorType\": \"SHOP\", \"actorTypeText\": \"门店\", \"action\": \"SHOP_QUOTE\", \"actionText\": \"门店报价\", \"remark\": \"店长报价\", \"items\": [{\"orderItemId\": \"322364874070339584\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": 138.0, \"conf",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /order/322364874066145281/quote/confirm"
|
||||
},
|
||||
{
|
||||
"id": "LINK-003B",
|
||||
"role": "普通用户/店长",
|
||||
"module": "DB联动",
|
||||
"precondition": "用户确认报价后",
|
||||
"steps": "查询订单项和预约占用",
|
||||
"expected": "报价确认、预约占用生成且时间/设计师一致",
|
||||
"actual": "{\"quote_status\": \"CONFIRMED\", \"quote_user_confirmed\": 1, \"quote_shop_confirmed\": 1, \"confirmed_price\": \"138.00\", \"ar_status\": \"CONFIRMED\", \"artist_id\": 322364865383936000, \"appointment_start_time\": \"2026-06-10 10:00:00\", \"appointment_end_time\": \"2026-06-10 11:00:00\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order/t_order_item/t_appointment_reservation"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-002",
|
||||
"role": "指尖管理师",
|
||||
"module": "日/周/月规划",
|
||||
"precondition": "订单已确认报价并生成占用",
|
||||
"steps": "查询 planning calendar 日视图",
|
||||
"expected": "返回包含该预约/单量",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"businessStartTime\": \"09:00\", \"businessEndTime\": \"21:00\", \"slotMinutes\": 30, \"artists\": [{\"id\": \"322364865383936000\", \"name\": \"fd0608212248 artistone\", \"shortName\": \"F\", \"phone\": \"19100000002\", \"avatar\": \"https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png\", \"color\": \"#D7A86E\", \"status\": 1, \"statusText\": \"可预约\", \"workStartTime\": \"09:00\", \"workEndTime\": \"21:00\", \"rangeCount\": 2}], \"schedules\": [{\"id\": \"322364871461482496\", \"artistId\": \"322364865383936000\", \"artistName\": \"fd0608212248 artistone\", \"date\": \"2026-06-10\", \"startTime\": \"09:00\", \"endTime\": \"21:00\", \"capacity\": 1, \"status\": 1, \"statusText\": \"可预约\", \"remark\": \"fd0608212248\"}], \"appointments\": [{\"orderId\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"orderItemId\": \"322364874070339584\", \"customerId\": \"322364866830970880\", \"customerName\": \"fd0608212248 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"artistId\": \"322364865383936000\", \"artistName\": \"fd0608212248 artistone\", \"artistColor\": \"#D7A86E\", \"date\": \"2026-06-10\", \"startTime\": \"2026-06-10 10:00:00\", \"endTime\": \"2026-06-10 11:00:00\", \"startMinute\": 600, \"durationMinutes\": 60, \"status\": 1, \"statusText\": \"已确认\", \"amount\": 138.0, \"remark\": \"fd0608212248\"}, {\"orderId\": \"322364874519130113\", \"orderNo\": \"ORD322364874519130112\", \"orderItemId\": \"322364874523324416\", \"customerId\": \"322364866830970880\", \"customerName\": \"fd0608212248 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/planning/calendar"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-003",
|
||||
"role": "指尖管理师",
|
||||
"module": "改时间/改派",
|
||||
"precondition": "订单预约已存在",
|
||||
"steps": "改派到 artisttwo 并改到 11:00",
|
||||
"expected": "订单项和预约占用同步更新",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"orderId\": \"322364874066145281\", \"orderNo\": \"ORD322364874066145280\", \"orderItemId\": \"322364874070339584\", \"customerId\": \"322364866830970880\", \"customerName\": \"fd0608212248 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"artistId\": \"322364866101161984\", \"artistName\": \"fd0608212248 artisttwo\", \"artistColor\": \"#D7A86E\", \"date\": \"2026-06-10\", \"startTime\": \"2026-06-10 11:00:00\", \"endTime\": \"2026-06-10 12:00:00\", \"startMinute\": 660, \"durationMinutes\": 60, \"status\": 1, \"statusText\": \"已确认\", \"amount\": 138.0, \"remark\": \"fd0608212248\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /admin/planning/appointments/322364874070339584/time-artist"
|
||||
},
|
||||
{
|
||||
"id": "MANAGER-003B",
|
||||
"role": "指尖管理师",
|
||||
"module": "DB联动",
|
||||
"precondition": "改派接口已执行",
|
||||
"steps": "查询订单项/预约占用",
|
||||
"expected": "artist_id 和 appointment_time 均同步为新值",
|
||||
"actual": "{\"artist_id\": 322364866101161984, \"appointment_time\": \"2026-06-10 11:00:00\", \"ar_artist\": 322364866101161984, \"appointment_start_time\": \"2026-06-10 11:00:00\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order_item/t_appointment_reservation"
|
||||
},
|
||||
{
|
||||
"id": "ARTIST-002",
|
||||
"role": "设计师/美甲师",
|
||||
"module": "本人订单",
|
||||
"precondition": "订单已改派到 artisttwo",
|
||||
"steps": "artistone 查询本人订单列表",
|
||||
"expected": "不能看到已改派给他人的订单",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"list\": [{\"id\": \"322364874519130113\", \"orderNo\": \"ORD322364874519130112\", \"userId\": \"322364866830970880\", \"shopId\": \"322364862611501056\", \"shopName\": \"fd0608212248 normal shop edited\", \"totalAmount\": 128.0, \"actualAmount\": 128.0, \"couponId\": \"0\", \"userCouponId\": null, \"couponSourceType\": null, \"couponName\": null, \"paymentStatus\": \"UNPAID\", \"payAmount\": 128.0, \"paidAmount\": 0.0, \"payTime\": null, \"paymentMethod\": null, \"paymentOrderNo\": null, \"refundStatus\": \"NONE\", \"customerRemark\": \"fd0608212248\", \"quoteStatus\": \"CONFIRMING\", \"quoteStatusText\": \"确认价格中\", \"quoteUserConfirmed\": false, \"quoteShopConfirmed\": false, \"quoteExpireTime\": \"2026-06-09T21:22:55\", \"quoteConfirmedTime\": null, \"quoteMessages\": [{\"id\": \"322364874540101632\", \"orderId\": \"322364874519130113\", \"actorId\": \"322364866830970880\", \"actorType\": \"USER\", \"actorTypeText\": \"用户\", \"action\": \"CREATE\", \"actionText\": \"发起询价预约\", \"remark\": \"fd0608212248\", \"items\": [{\"orderItemId\": \"322364874523324416\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"quantity\": 1, \"referencePrice\": 128.0, \"quotedPrice\": null, \"confirmedPrice\": null}], \"createTime\": \"2026-06-08T21:22:55\"}], \"customerNickname\": \"fd0608212248 customer\", \"customerPhoneMasked\": \"191****0004\", \"artistOrderSource\": null, \"artistOrderSourceText\": null, \"status\": 0, \"statusText\": \"确认价格中\", \"createTime\": \"2026-06-08T21:22:55\", \"items\": [{\"id\": \"322364874523324416\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"productImage\": null, \"quantity\": 1, \"price\": 128.0, \"referencePrice\":",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/order/list as artistone"
|
||||
},
|
||||
{
|
||||
"id": "LINK-004",
|
||||
"role": "指尖管理师",
|
||||
"module": "新建预约联动",
|
||||
"precondition": "客户/作品/设计师存在",
|
||||
"steps": "规划端新建预约",
|
||||
"expected": "后台订单、订单项、预约占用同步生成",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"orderId\": \"322364876758888449\", \"orderNo\": \"ORD322364876758888448\", \"orderItemId\": \"322364876767277056\", \"customerId\": \"322364866830970880\", \"customerName\": \"fd0608212248 customer\", \"customerPhone\": \"19100000004\", \"productId\": \"322364872862380032\", \"productTitle\": \"fd0608212248 主链路款式\", \"artistId\": \"322364865383936000\", \"artistName\": \"fd0608212248 artistone\", \"artistColor\": \"#D7A86E\", \"date\": \"2026-06-11\", \"startTime\": \"2026-06-11 14:00:00\", \"endTime\": \"2026-06-11 15:00:00\", \"startMinute\": 840, \"durationMinutes\": 60, \"status\": 1, \"statusText\": \"已确认\", \"amount\": 128.0, \"remark\": \"fd0608212248 planning\"}}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "POST /admin/planning/appointments"
|
||||
},
|
||||
{
|
||||
"id": "LINK-004B",
|
||||
"role": "指尖管理师/后台",
|
||||
"module": "DB联动",
|
||||
"precondition": "规划端新建预约成功",
|
||||
"steps": "查询 t_order/t_order_item/t_appointment_reservation",
|
||||
"expected": "三表同步生成且有关联",
|
||||
"actual": "{\"order_id\": 322364876758888449, \"item_id\": 322364876767277056, \"reservation_id\": 322364876784054272, \"status\": \"CONFIRMED\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB order/item/reservation"
|
||||
},
|
||||
{
|
||||
"id": "LINK-005",
|
||||
"role": "后台店长",
|
||||
"module": "取消联动",
|
||||
"precondition": "规划端预约已生成",
|
||||
"steps": "用户端取消订单",
|
||||
"expected": "预约占用释放/状态变更",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "-",
|
||||
"evidence": "PUT /order/cancel/322364876758888449"
|
||||
},
|
||||
{
|
||||
"id": "LINK-005B",
|
||||
"role": "后台/管理师",
|
||||
"module": "DB联动",
|
||||
"precondition": "取消接口已执行",
|
||||
"steps": "查询订单和预约占用",
|
||||
"expected": "订单取消且预约不再 active",
|
||||
"actual": "{\"status\": 3, \"ar_status\": \"RELEASED\", \"ar_deleted\": 1}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB t_order/t_appointment_reservation"
|
||||
},
|
||||
{
|
||||
"id": "PERM-001",
|
||||
"role": "后台店长",
|
||||
"module": "跨店隔离",
|
||||
"precondition": "other 店长登录 other 门店",
|
||||
"steps": "请求 normal 门店作品列表",
|
||||
"expected": "应无权查看或返回本店空列表,不泄露 normal 数据",
|
||||
"actual": "{\"code\": 200, \"message\": \"操作成功\", \"data\": {\"list\": [], \"total\": \"0\", \"page\": 1, \"size\": 20}}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /admin/product/list?shopId=normal as other manager"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-002",
|
||||
"role": "平台管理员",
|
||||
"module": "停用店铺",
|
||||
"precondition": "disabled 门店为停用",
|
||||
"steps": "尝试给停用店铺创建店长",
|
||||
"expected": "应拦截并提示店铺不可用/冻结",
|
||||
"actual": "{\"code\": 500, \"message\": \"所属店铺不存在或已失效\", \"data\": null}",
|
||||
"status": "PASS",
|
||||
"priority": "P1",
|
||||
"evidence": "POST /admin/user/create disabled shop"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-003",
|
||||
"role": "未登录用户",
|
||||
"module": "鉴权健壮性",
|
||||
"precondition": "无 token",
|
||||
"steps": "直接调用写接口下单",
|
||||
"expected": "返回 401,不创建订单",
|
||||
"actual": "{\"code\": 401, \"message\": \"未提供认证Token\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "POST /order/create without token"
|
||||
},
|
||||
{
|
||||
"id": "EDGE-004",
|
||||
"role": "过期/错误 token",
|
||||
"module": "鉴权健壮性",
|
||||
"precondition": "错误 token",
|
||||
"steps": "调用需登录 GET 接口",
|
||||
"expected": "返回 401/403",
|
||||
"actual": "HTTP 401, {\"code\":401,\"message\":\"Token无效或已过期\"}",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "GET /order/list with invalid token"
|
||||
},
|
||||
{
|
||||
"id": "PASS-010",
|
||||
"role": "全角色",
|
||||
"module": "数据一致性",
|
||||
"precondition": "主链路执行后",
|
||||
"steps": "核验核心表计数、孤儿预约、重复占用",
|
||||
"expected": "无孤儿预约、无重复 active 占用",
|
||||
"actual": "counts={'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 3, 't_product': 1, 't_order': 3, 't_order_item': 3, 't_appointment_reservation': 2, 't_user_agreement_consent': 2}, orphan=0, duplicate=0",
|
||||
"status": "PASS",
|
||||
"priority": "P0",
|
||||
"evidence": "DB consistency"
|
||||
},
|
||||
{
|
||||
"id": "UI-002",
|
||||
"role": "小程序端",
|
||||
"module": "微信开发者工具页面测试",
|
||||
"precondition": "当前会话未暴露微信开发者工具自动化入口",
|
||||
"steps": "执行管理师/用户/设计师小程序页面真实点击",
|
||||
"expected": "页面可交互、布局不遮挡",
|
||||
"actual": "工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行",
|
||||
"status": "BLOCKED",
|
||||
"priority": "P3",
|
||||
"evidence": "tool unavailable"
|
||||
}
|
||||
],
|
||||
"counts": {
|
||||
"t_user": 6,
|
||||
"t_shop": 4,
|
||||
"t_user_shop_binding": 5,
|
||||
"t_nail_artist_info": 2,
|
||||
"t_artist_schedule": 3,
|
||||
"t_product": 1,
|
||||
"t_order": 3,
|
||||
"t_order_item": 3,
|
||||
"t_appointment_reservation": 2,
|
||||
"t_user_agreement_consent": 2
|
||||
}
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
# Fingertip Designer 全链路用户视角验收清单 - fd0608212248
|
||||
|
||||
- 执行时间:2026-06-08T21:22:56
|
||||
- 环境:开发 MySQL 192.168.5.15 / 本地 Core http://127.0.0.1:18081
|
||||
- 数据策略:执行前已重建 nailart,本轮数据均带 runId 前缀;密钥和密码不写入报告。
|
||||
|
||||
## 汇总
|
||||
|
||||
- PASS: 55
|
||||
- FAIL: 1
|
||||
- BLOCKED: 2
|
||||
- DB counts: {"t_user":6,"t_shop":4,"t_user_shop_binding":5,"t_nail_artist_info":2,"t_artist_schedule":3,"t_product":1,"t_order":3,"t_order_item":3,"t_appointment_reservation":2,"t_user_agreement_consent":2}
|
||||
|
||||
## 验收清单
|
||||
|
||||
| 用例编号 | 角色 | 模块 | 前置数据 | 操作步骤 | 预期结果 | 实际结果 | 状态 | 缺陷等级 | 证据 |
|
||||
|---|---|---|---|---|---|---|---|---|---|
|
||||
| ENV-001 | 环境 | Core 健康检查 | Core 18081 已启动 | GET /shop/list/simple | HTTP 200 | HTTP 200, {"code":200,"message":"操作成功","data":[{"id":"322364589629419520","shopName":"fd0608212143 other shop"},{"id":"322364589218377728","shopName":"fd0608212143 normal shop edited"}]} | PASS | P0 | http://127.0.0.1:18081 |
|
||||
| ENV-002 | 环境 | Nacos Dev 命名空间 | 仅读开发 Nacos | 登录 Nacos 读取 YumiNail-Dev | 成功读取或记录阻塞 | HTTP 500 | BLOCKED | P3 | Nacos dev host reachable; secrets redacted |
|
||||
| ENV-003 | 环境 | 数据库重建 | 已有备份 nailart_backup_fd0608202858.sql | DROP/CREATE nailart 并执行 YumiNail.sql | 初始化成功且基础权限/管理员存在 | 初始化语句 386, counts={'t_user': 1, 't_shop': 0, 't_user_shop_binding': 0, 't_nail_artist_info': 0, 't_artist_schedule': 0, 't_product': 0, 't_order': 0, 't_order_item': 0, 't_appointment_reservation': 0, 't_user_agreement_consent': 0} | PASS | - | YumiNail-Core/src/main/resources/files/YumiNail.sql |
|
||||
| ADMIN-001 | 平台管理员 | 登录 | 默认管理员 xiaowang | 账号密码登录后台 | 返回 type=4 accessToken | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "1", "account": "xiaowang", "nickname": "系统管理员", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 4, "shopId": null, "shopName": null, "shopAuthorizationExpireTime": null, "shopAuthorizationExpired": false, "shopIds": [], "shopNames": [], "createTime": "2026-06-08T21:22:51"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-002-normal | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建normal门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364862611501056"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-expired | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建expired门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364862804439040"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-disabled | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建disabled门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364862993182720"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-002-other | 平台管理员 | 店铺管理 | 平台管理员已登录 | 创建other门店 | 返回门店ID且 t_shop 可查 | {"code": 200, "message": "操作成功", "data": "322364863198703616"} | PASS | - | POST /admin/shops/create |
|
||||
| ADMIN-003 | 平台管理员 | 店铺管理 | normal 门店存在 | 编辑门店资料后查询详情 | 更新成功且详情为新值 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/update/322364862611501056 |
|
||||
| ADMIN-003B | 平台管理员 | 店铺管理 | normal 门店存在 | 查询门店详情 | 返回 normal 门店详情 | {"code": 200, "message": "操作成功", "data": {"id": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "description": "normal edited", "address": "Dev 1", "mapProvider": "TENCENT", "longitude": null, "latitude": null, "navigationUrls": {}, "businessHours": "09:00-21:00", "coverImageFileId": "", "coverImageUrls": [], "imageFileIds": null, "imageUrls": [], "themePrimaryColor": "#1677FF", "themeSecondaryColor": "#F5F5F5", "themeAccentColor": "#FF7A45", "themePageBgColor": "#FFFFFF", "themeCardBgColor": "#FFFFFF", "themeBackgroundImageFileId": null, "status": 1, "authorizationStartDate": "2026-06-07", "authorizationDays": 45, "authorizationExpireTime": "2026-07-21T23:59:59", "authorizationExpired": false, "authorizationStatusText": "有效", "createTime": "2026-06-08T21:22:52", "updateTime": "2026-06-08T21:22:52"}} | PASS | - | GET /admin/shops/322364862611501056 |
|
||||
| ADMIN-004 | 平台管理员 | 店铺启停 | disabled 门店存在 | JSON body 修改门店状态为启用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364862993182720 |
|
||||
| ADMIN-004B | 平台管理员 | 店铺启停 | disabled 门店已启用 | JSON body 修改门店状态为停用 | 状态更新成功 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | PUT /admin/shops/status/322364862993182720 |
|
||||
| ADMIN-007-manager | 平台管理员 | 账号管理 | 门店已创建 | 创建manager type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364864406663168"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artistone | 平台管理员 | 账号管理 | 门店已创建 | 创建artistone type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364865383936000"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-artisttwo | 平台管理员 | 账号管理 | 门店已创建 | 创建artisttwo type=3 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364866101161984"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-customer | 平台管理员 | 账号管理 | 门店已创建 | 创建customer type=0 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364866830970880"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-othermgr | 平台管理员 | 账号管理 | 门店已创建 | 创建othermgr type=2 | 返回用户ID、默认权限和门店绑定写入 | {"code": 200, "message": "操作成功", "data": "322364867397201920"} | PASS | - | POST /admin/user/create |
|
||||
| ADMIN-007-expiredmgr | 平台管理员 | 账号管理 | 门店已创建 | 创建expiredmgr type=2 | 过期/冻结门店禁止创建可登录店长,返回明确错误 | {"code": 500, "message": "店铺已被冻结", "data": null} | PASS | - | POST /admin/user/create |
|
||||
| MANAGER-001 | 指尖管理师/店长 | 登录 | manager 账号绑定 normal 门店 | 后台/管理师账号登录并选择门店 | 返回 type=2 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364864406663168", "account": "fd0608212248manager", "nickname": "fd0608212248 manager", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 2, "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364862611501056"], "shopNames": ["fd0608212248 normal shop edited"], "createTime": "2026-06-08T21:22:53"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| UI-001 | 后台店长 | 管理后台真实页面烟测 | Core http://127.0.0.1:18081 已启动;Vite http://127.0.0.1:3000 已启动;fd0608212248manager 已绑定 normal 店铺 | 浏览器打开 /admin/login,输入店长账号密码,等待登录店铺匹配,点击登录并进入仪表盘 | 登录页可见;成功进入 /admin/dashboard;当前店铺、店长、订单/作品/美甲师统计和后台菜单可见 | webStatus=PASS; route=http://127.0.0.1:3000/admin/dashboard; content=指尖设计师管理台<br>首页<br>仪表盘<br>用户管理<br>作品管理<br>优惠券管理<br>评论管理<br>店铺管理<br>权限管理<br>标签管理<br>订单管理<br>排班管理<br>售后处理<br>库存管理<br>活动管理<br>美甲师管理<br>消息发布<br>公告管理<br>VIP充值配置<br>fd0608212248 normal shop edited<br>fd0608212248 manager<br>仪表盘<br>当前店铺:fd0608212248 normal shop edited<br>订单总额<br>394.00元<br>今日订单额<br>394.00元<br>客户数量<br>1<br>美甲师数量<br>2<br>浏览量<br>0<br>收藏量<br>1<br>加购量<br>0<br>下单量<br>3<br>支付订单<br>0<br>完成订单<br>0<br>评价数<br>0<br>复购数<br>0<br>经营概览<br>近 7 日订单额<br>¥394.00<br>今日订单数<br>3<br>近 7 日新增订单<br>3<br>待处理订单<br>2<br>已完成订单<br>0<br>今日新增客户<br>1<br>近 7 日新增客户<br>1<br>作品数量<br>1<br>快捷跳转<br>订单管理<br>用户管理<br>作品管理<br>优惠券管理<br>消息发布<br>美甲师管理<br>热门作品<br>fd0608212248 主链路款式<br>点赞 0 · 收藏 1<br>¥128.00<br>最近动态<br><br>新品上架<br><br>新品"fd0608212248 主链路款式"已上架<br><br>14 分钟前<br> | PASS | P1 | E:/yuminail/artifacts/full-regression/web_smoke_fd0608212248.json; E:\yuminail\artifacts\full-regression\web_admin_login_fd0608212248.png; E:\yuminail\artifacts\full-regression\web_admin_dashboard_fd0608212248.png |
|
||||
| ARTIST-001 | 设计师/美甲师 | 登录 | artistone 账号绑定 normal 门店 | 设计师账号登录 | 返回 type=3 shopId=normal | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364865383936000", "account": "fd0608212248artistone", "nickname": "fd0608212248 artistone", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 3, "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364862611501056"], "shopNames": ["fd0608212248 normal shop edited"], "createTime": "2026-06-08T21:22:53"}, "needSetPassword": false}} | PASS | P0 | POST /admin/auth/login |
|
||||
| ADMIN-008 | 店长 | 设计师资料 | 设计师账号存在 | 保存设计师资料 | 返回保存后的设计师资料 | {"code": 200, "message": "操作成功", "data": {"id": "322364865551708160", "userId": "322364865383936000", "identity": "首席设计师", "experience": 5, "skills": "法式,渐变,手绘", "rating": 4.9, "status": 1, "participateProduction": 1, "workStartTime": "09:00:00", "workEndTime": "21:00:00", "userType": 3, "userTypeName": "美甲师", "portfolio": "", "nickname": "fd0608212248 artistone", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "signature": "fd0608212248 signature"}} | PASS | - | POST /admin/nail-artist/save |
|
||||
| ADMIN-011 | 店长 | 排班 | 设计师可用 | 保存设计师排班 | t_artist_schedule 生成记录 | {"code": 200, "message": "操作成功", "data": {"id": "322364871461482496", "shopId": "322364862611501056", "artistId": "322364865383936000", "workDate": "2026-06-10", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608212248", "createTime": "2026-06-08T21:22:54.6071876"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| ADMIN-011B | 店长 | 排班 | 规划端新建预约目标日 | 补充规划端目标日期排班 | t_artist_schedule 生成第二天排班 | {"code": 200, "message": "操作成功", "data": {"id": "322364871650226176", "shopId": "322364862611501056", "artistId": "322364865383936000", "workDate": "2026-06-11", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608212248-planning", "createTime": "2026-06-08T21:22:54.651676"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| ADMIN-011C | 店长 | 排班 | 改派目标设计师 | 给 artisttwo 补充同日排班 | 改派目标日有可用容量 | {"code": 200, "message": "操作成功", "data": {"id": "322364871838969856", "shopId": "322364862611501056", "artistId": "322364866101161984", "workDate": "2026-06-10", "startTime": "09:00:00", "endTime": "21:00:00", "slotMinutes": 60, "capacity": 1, "status": 1, "remark": "fd0608212248-move-target", "createTime": "2026-06-08T21:22:54.6964448"}} | PASS | - | POST /admin/artist-schedule/save |
|
||||
| USER-001 | 普通用户 | 协议 | 匿名可访问 | 读取当前用户协议版本 | 返回 USER_TERMS 和 PRIVACY_POLICY | {"code": 200, "message": "操作成功", "data": [{"id": "313931273555138001", "agreementType": "USER_TERMS", "agreementTypeName": "用户协议", "title": "用户协议", "version": "2026.05.18", "content": "欢迎使用 Fingertip Designer 指尖设计师。请在使用账号、预约、订单、会员、消息等功能前仔细阅读本协议。继续登录或注册即表示你已理解并同意平台基础服务规则、账号安全要求、订单预约规则和依法合规使用要求。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:22:52", "createTime": "2026-06-08T21:22:52", "updateTime": "2026-06-08T21:22:52"}, {"id": "313931273555138002", "agreementType": "PRIVACY_POLICY", "agreementTypeName": "隐私政策", "title": "隐私政策", "version": "2026.05.18", "content": "Fingertip Designer 指尖设计师会在提供登录注册、预约下单、会员余额、消息通知和客户服务时处理必要的手机号、昵称、门店归属、订单与设备信息。我们仅在业务需要和法律允许范围内使用这些信息,并采取访问控制、脱敏展示和审计记录等措施保护数据安全。", "status": 1, "statusText": "已发布", "effectiveTime": "2026-06-08T21:22:52", "createTime": "2026-06-08T21:22:52", "updateTime": "2026-06-08T21:22:52"}]} | PASS | P0 | GET /legal-agreement/current |
|
||||
| USER-003 | 普通用户 | 登录 | 普通用户账号已创建并提交当前协议版本 | 账号密码登录用户端 | 返回 accessToken 并写入协议同意记录 | {"code": 200, "message": "操作成功", "data": {"accessToken": "***", "refreshToken": "***", "userInfo": {"id": "322364866830970880", "account": "fd0608212248customer", "nickname": "fd0608212248 customer", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "type": 0, "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "shopAuthorizationExpireTime": "2026-07-21T23:59:59", "shopAuthorizationExpired": false, "shopIds": ["322364862611501056"], "shopNames": ["fd0608212248 normal shop edited"], "createTime": "2026-06-08T21:22:54"}, "needSetPassword": false}} | PASS | P0 | POST /user/login |
|
||||
| USER-003B | 普通用户 | 协议留痕 | 用户登录成功 | 查询 t_user_agreement_consent | 至少 2 条同意记录 | consent_count=2 | PASS | P1 | DB t_user_agreement_consent |
|
||||
| ADMIN-012 | 店长 | 作品管理 | normal 门店和设计师可用 | 创建可预约作品 | 返回 productId 且用户端可见 | {"code": 200, "message": "操作成功", "data": "322364872862380032"} | PASS | - | POST /admin/product/create |
|
||||
| USER-004 | 普通用户 | 浏览 | 作品已上架 | 匿名查询作品详情 | 详情返回数据 | {"code": 200, "message": "操作成功", "data": {"id": "322364872862380032", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "title": "fd0608212248 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364865383936000", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:22:55", "updateTime": "2026-06-08T21:22:55"}} | PASS | - | GET /product/get/322364872862380032 |
|
||||
| USER-004B | 普通用户 | 浏览 | 作品已上架 | 匿名查询门店作品列表 | 列表包含新建作品 | {"code": 200, "message": "操作成功", "data": [{"id": "322364872862380032", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "title": "fd0608212248 主链路款式", "description": "全链路测试作品", "targetAudience": "通勤", "precautions": "无", "imageFileIds": "", "imageUrls": [], "price": 128.0, "tags": "法式,测试", "tagList": [], "tagInfos": [], "likeCount": 0, "collectCount": 0, "approximateDuration": "60分钟", "serviceDurationMinutes": "60", "bookableArtists": "322364865383936000", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableCoupons": "", "createTime": "2026-06-08T21:22:55", "updateTime": "2026-06-08T21:22:55"}]} | PASS | P1 | GET /product/list/shop/322364862611501056 |
|
||||
| USER-005 | 普通用户 | 收藏 | 用户已登录,作品存在 | 收藏作品 | 收藏成功 | {"code": 200, "message": "操作成功", "data": "ok"} | PASS | - | POST /wishlist/add |
|
||||
| USER-005B | 普通用户 | 收藏 | 作品已收藏 | 查询收藏状态 | 返回已收藏 | {"code": 200, "message": "操作成功", "data": true} | PASS | - | GET /wishlist/check |
|
||||
| USER-005C | 普通用户 | 购物车 | 用户已登录,作品存在 | 加入购物车 | 购物车新增该作品,供结算/下单使用 | {"code": 200, "message": "操作成功", "data": null} | PASS | - | POST /cart/add |
|
||||
| USER-005D | 普通用户 | 购物车 | 作品已加入购物车 | 查询购物车列表 | 列表包含新建作品及可预约设计师 | {"code": 200, "message": "操作成功", "data": [{"id": "322364873650909184", "productId": "322364872862380032", "shopId": "322364862611501056", "productTitle": "fd0608212248 主链路款式", "productImage": null, "price": 128.0, "quantity": 1, "totalPrice": 128.0, "tags": "法式,测试", "tagNames": "", "approximateDuration": "60分钟", "bookableArtists": "322364865383936000", "availableBookableArtistCount": 1, "bookableArtistRestricted": true, "availableArtists": [{"id": "322364865383936000", "name": "fd0608212248 artistone", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "userType": 3, "roleLabel": "美甲师", "participateProduction": false}]}]} | PASS | - | GET /cart/list |
|
||||
| USER-006 | 普通用户 | 结算预览 | 用户已登录,作品可预约 | checkout-preview | 返回金额和可用优惠信息 | {"code": 200, "message": "操作成功", "data": {"subtotalAmount": 128.0, "savedAmount": 0.0, "payableAmount": 128.0, "bestCoupon": null, "availableCoupons": [], "unavailableCoupons": [{"id": "322364862628278272", "couponId": "322364862628278272", "userCouponId": null, "sourceType": "SYSTEM_VIP", "couponName": "青铜VIP自动95折券", "couponType": 1, "couponTypeName": "折扣券", "discountValue": 9.5, "minAmount": 0.0, "reduceAmount": 0.0, "discountAmount": 0.0, "available": false, "best": false, "vipAuto": true, "displayText": "VIP自动优惠:青铜VIP自动95折券,9.5折", "savingText": null, "unavailableReason": "本单商品暂不适用", "startTime": "2026-06-08T21:22:52", "endTime": "2099-12-31T23:59:59"}, {"id": "322364862640861184", "couponId": "322364862640861184", "userCouponId": null, "sourceType": "SYSTEM_VIP", "couponName": "白银VIP自动92折券", "couponType": 1, "couponTypeName": "折扣券", "discountValue": 9.2, "minAmount": 0.0, "reduceAmount": 0.0, "discountAmount": 0.0, "available": false, "best": false, "vipAuto": true, "displayText": "VIP自动优惠:白银VIP自动92折券,9.2折", "savingText": null, "unavailableReason": "本单商品暂不适用", "startTime": "2026-06-08T21:22:52", "endTime": "2099-12-31T23:59:59"}, {"id": "322364862653444096", "couponId": "322364862653444096", "userCouponId": null, "sourceType": "SYSTEM_VIP", "couponName": "黄金VIP自动90折券", "couponType": 1, "couponTypeName": "折扣券", "discountValue": 9.0, "minAmount": 0.0, "reduceAmount": 0.0, "discountAmount": 0.0, "available": false, "best": false, "vipAuto": true, "displayText": "VIP自动优惠:黄金VIP自动90折券,9折", "savingText": null, "unavailableReason": "本单商品暂不适用", "startTime": "2026-06-08T21:22:52" | PASS | - | POST /order/checkout-preview |
|
||||
| USER-007 | 普通用户 | 下单 | 用户已登录,作品/设计师/排班可用 | 创建订单 | 返回订单、订单项,DB 生成 t_order/t_order_item | {"code": 200, "message": "操作成功", "data": {"id": "322364874066145281", "orderNo": "ORD322364874066145280", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": null, "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": null, "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": false, "quoteExpireTime": "2026-06-09T21:22:55.2273918", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874087116800", "orderId": "322364874066145281", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": null, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}], "customerNickname": "fd0608212248 customer", "customerPhoneMasked": "191****0004", "artistOrderSource": null, "artistOrderSourceText": null, "status": 0, "statusText": "确认价格中", "createTime": null, "items": [{"id": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "productImage": null, "quantity": 1, "price": 128.0, "referencePrice": 128.0, "quotedPrice": | PASS | - | POST /order/create |
|
||||
| USER-007B | 普通用户 | DB核验 | 订单创建成功 | 查询 t_order/t_order_item | 订单项设计师和预约时间一致 | {"status": 0, "quote_status": "CONFIRMING", "artist_id": 322364865383936000, "appointment_time": "2026-06-10 10:00:00"} | PASS | P0 | DB t_order + t_order_item |
|
||||
| EDGE-001A | 普通用户 | 预约冲突 | 首单已创建且购物车已被清空 | 重新加入同作品以验证重复预约冲突 | 加购成功,下一步应进入预约冲突校验 | {"code": 200, "message": "操作成功", "data": null} | PASS | - | POST /cart/add |
|
||||
| EDGE-001 | 普通用户 | 预约冲突 | 已有同设计师同时间订单占用 | 重复提交同时间预约 | 应拦截重复占用/冲突或操作幂等保护 | {"code": 200, "message": "操作成功", "data": {"id": "322364874519130113", "orderNo": "ORD322364874519130112", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": null, "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": null, "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": false, "quoteExpireTime": "2026-06-09T21:22:55.3353326", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874540101632", "orderId": "322364874519130113", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": null, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}], "customerNickname": "fd0608212248 customer", "customerPhoneMasked": "191****0004", "artistOrderSource": null, "artistOrderSourceText": null, "status": 0, "statusText": "确认价格中", "createTime": null, "items": [{"id": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "productImage": null, "quantity": 1, "price": 128.0, "referencePrice": 128.0, "quotedPrice": | FAIL | P0 | POST /order/create duplicate |
|
||||
| LINK-001 | 店长 | 报价联动 | 用户订单已创建 | 店长提交报价 | 订单 quote_status 更新为 WAIT_USER/PROCESSING | {"code": 200, "message": "操作成功", "data": {"id": "322364874066145281", "orderNo": "ORD322364874066145280", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:22:55", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874087116800", "orderId": "322364874066145281", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}, {"id": "322364874913394688", "orderId": "322364874066145281", "actorId": "322364864406663168", "actorType": "SHOP", "actorTypeText": "门店", "action": "SHOP_QUOTE", "actionText": "门店报价", "remark": "店长报价", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "confirmedPrice": nul | PASS | - | POST /admin/order/322364874066145281/quote |
|
||||
| LINK-002 | 店长 | 报价联动 | 店长已提交报价 | 店长确认报价 | 订单 quote_shop_confirmed=1 | {"code": 200, "message": "操作成功", "data": {"id": "322364874066145281", "orderNo": "ORD322364874066145280", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:22:55", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874087116800", "orderId": "322364874066145281", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}, {"id": "322364874913394688", "orderId": "322364874066145281", "actorId": "322364864406663168", "actorType": "SHOP", "actorTypeText": "门店", "action": "SHOP_QUOTE", "actionText": "门店报价", "remark": "店长报价", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "confirmedPrice": nul | PASS | - | PUT /admin/order/322364874066145281/quote/confirm |
|
||||
| LINK-003 | 普通用户 | 报价联动 | 店长已确认报价 | 用户确认报价 | 订单 quote_user_confirmed=1,并生成预约占用 | {"code": 200, "message": "操作成功", "data": {"id": "322364874066145281", "orderNo": "ORD322364874066145280", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 138.0, "actualAmount": 138.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 138.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMED", "quoteStatusText": "价格已确认", "quoteUserConfirmed": true, "quoteShopConfirmed": true, "quoteExpireTime": "2026-06-09T21:22:55", "quoteConfirmedTime": "2026-06-08T21:22:56", "quoteMessages": [{"id": "322364874087116800", "orderId": "322364874066145281", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "confirmedPrice": 138.0}], "createTime": "2026-06-08T21:22:55"}, {"id": "322364874913394688", "orderId": "322364874066145281", "actorId": "322364864406663168", "actorType": "SHOP", "actorTypeText": "门店", "action": "SHOP_QUOTE", "actionText": "门店报价", "remark": "店长报价", "items": [{"orderItemId": "322364874070339584", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": 138.0, "conf | PASS | - | PUT /order/322364874066145281/quote/confirm |
|
||||
| LINK-003B | 普通用户/店长 | DB联动 | 用户确认报价后 | 查询订单项和预约占用 | 报价确认、预约占用生成且时间/设计师一致 | {"quote_status": "CONFIRMED", "quote_user_confirmed": 1, "quote_shop_confirmed": 1, "confirmed_price": "138.00", "ar_status": "CONFIRMED", "artist_id": 322364865383936000, "appointment_start_time": "2026-06-10 10:00:00", "appointment_end_time": "2026-06-10 11:00:00"} | PASS | P0 | DB t_order/t_order_item/t_appointment_reservation |
|
||||
| MANAGER-002 | 指尖管理师 | 日/周/月规划 | 订单已确认报价并生成占用 | 查询 planning calendar 日视图 | 返回包含该预约/单量 | {"code": 200, "message": "操作成功", "data": {"businessStartTime": "09:00", "businessEndTime": "21:00", "slotMinutes": 30, "artists": [{"id": "322364865383936000", "name": "fd0608212248 artistone", "shortName": "F", "phone": "19100000002", "avatar": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png", "color": "#D7A86E", "status": 1, "statusText": "可预约", "workStartTime": "09:00", "workEndTime": "21:00", "rangeCount": 2}], "schedules": [{"id": "322364871461482496", "artistId": "322364865383936000", "artistName": "fd0608212248 artistone", "date": "2026-06-10", "startTime": "09:00", "endTime": "21:00", "capacity": 1, "status": 1, "statusText": "可预约", "remark": "fd0608212248"}], "appointments": [{"orderId": "322364874066145281", "orderNo": "ORD322364874066145280", "orderItemId": "322364874070339584", "customerId": "322364866830970880", "customerName": "fd0608212248 customer", "customerPhone": "19100000004", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "artistId": "322364865383936000", "artistName": "fd0608212248 artistone", "artistColor": "#D7A86E", "date": "2026-06-10", "startTime": "2026-06-10 10:00:00", "endTime": "2026-06-10 11:00:00", "startMinute": 600, "durationMinutes": 60, "status": 1, "statusText": "已确认", "amount": 138.0, "remark": "fd0608212248"}, {"orderId": "322364874519130113", "orderNo": "ORD322364874519130112", "orderItemId": "322364874523324416", "customerId": "322364866830970880", "customerName": "fd0608212248 customer", "customerPhone": "19100000004", "productId": "322364872862380032", "productTitle": "fd0608212248 主链 | PASS | P0 | GET /admin/planning/calendar |
|
||||
| MANAGER-003 | 指尖管理师 | 改时间/改派 | 订单预约已存在 | 改派到 artisttwo 并改到 11:00 | 订单项和预约占用同步更新 | {"code": 200, "message": "操作成功", "data": {"orderId": "322364874066145281", "orderNo": "ORD322364874066145280", "orderItemId": "322364874070339584", "customerId": "322364866830970880", "customerName": "fd0608212248 customer", "customerPhone": "19100000004", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "artistId": "322364866101161984", "artistName": "fd0608212248 artisttwo", "artistColor": "#D7A86E", "date": "2026-06-10", "startTime": "2026-06-10 11:00:00", "endTime": "2026-06-10 12:00:00", "startMinute": 660, "durationMinutes": 60, "status": 1, "statusText": "已确认", "amount": 138.0, "remark": "fd0608212248"}} | PASS | - | PUT /admin/planning/appointments/322364874070339584/time-artist |
|
||||
| MANAGER-003B | 指尖管理师 | DB联动 | 改派接口已执行 | 查询订单项/预约占用 | artist_id 和 appointment_time 均同步为新值 | {"artist_id": 322364866101161984, "appointment_time": "2026-06-10 11:00:00", "ar_artist": 322364866101161984, "appointment_start_time": "2026-06-10 11:00:00"} | PASS | P0 | DB t_order_item/t_appointment_reservation |
|
||||
| ARTIST-002 | 设计师/美甲师 | 本人订单 | 订单已改派到 artisttwo | artistone 查询本人订单列表 | 不能看到已改派给他人的订单 | {"code": 200, "message": "操作成功", "data": {"list": [{"id": "322364874519130113", "orderNo": "ORD322364874519130112", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": "0", "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0.0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": "NONE", "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": false, "quoteExpireTime": "2026-06-09T21:22:55", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874540101632", "orderId": "322364874519130113", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": null, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}], "customerNickname": "fd0608212248 customer", "customerPhoneMasked": "191****0004", "artistOrderSource": null, "artistOrderSourceText": null, "status": 0, "statusText": "确认价格中", "createTime": "2026-06-08T21:22:55", "items": [{"id": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "productImage": null, "quantity": 1, "price": 128.0, "referencePrice": | PASS | P0 | GET /admin/order/list as artistone |
|
||||
| LINK-004 | 指尖管理师 | 新建预约联动 | 客户/作品/设计师存在 | 规划端新建预约 | 后台订单、订单项、预约占用同步生成 | {"code": 200, "message": "操作成功", "data": {"orderId": "322364876758888449", "orderNo": "ORD322364876758888448", "orderItemId": "322364876767277056", "customerId": "322364866830970880", "customerName": "fd0608212248 customer", "customerPhone": "19100000004", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "artistId": "322364865383936000", "artistName": "fd0608212248 artistone", "artistColor": "#D7A86E", "date": "2026-06-11", "startTime": "2026-06-11 14:00:00", "endTime": "2026-06-11 15:00:00", "startMinute": 840, "durationMinutes": 60, "status": 1, "statusText": "已确认", "amount": 128.0, "remark": "fd0608212248 planning"}} | PASS | - | POST /admin/planning/appointments |
|
||||
| LINK-004B | 指尖管理师/后台 | DB联动 | 规划端新建预约成功 | 查询 t_order/t_order_item/t_appointment_reservation | 三表同步生成且有关联 | {"order_id": 322364876758888449, "item_id": 322364876767277056, "reservation_id": 322364876784054272, "status": "CONFIRMED"} | PASS | P0 | DB order/item/reservation |
|
||||
| LINK-005 | 后台店长 | 取消联动 | 规划端预约已生成 | 用户端取消订单 | 预约占用释放/状态变更 | {"code": 200, "message": "操作成功", "data": null} | PASS | - | PUT /order/cancel/322364876758888449 |
|
||||
| LINK-005B | 后台/管理师 | DB联动 | 取消接口已执行 | 查询订单和预约占用 | 订单取消且预约不再 active | {"status": 3, "ar_status": "RELEASED", "ar_deleted": 1} | PASS | P0 | DB t_order/t_appointment_reservation |
|
||||
| PERM-001 | 后台店长 | 跨店隔离 | other 店长登录 other 门店 | 请求 normal 门店作品列表 | 应无权查看或返回本店空列表,不泄露 normal 数据 | {"code": 200, "message": "操作成功", "data": {"list": [], "total": "0", "page": 1, "size": 20}} | PASS | P0 | GET /admin/product/list?shopId=normal as other manager |
|
||||
| EDGE-002 | 平台管理员 | 停用店铺 | disabled 门店为停用 | 尝试给停用店铺创建店长 | 应拦截并提示店铺不可用/冻结 | {"code": 500, "message": "所属店铺不存在或已失效", "data": null} | PASS | P1 | POST /admin/user/create disabled shop |
|
||||
| EDGE-003 | 未登录用户 | 鉴权健壮性 | 无 token | 直接调用写接口下单 | 返回 401,不创建订单 | {"code": 401, "message": "未提供认证Token"} | PASS | P0 | POST /order/create without token |
|
||||
| EDGE-004 | 过期/错误 token | 鉴权健壮性 | 错误 token | 调用需登录 GET 接口 | 返回 401/403 | HTTP 401, {"code":401,"message":"Token无效或已过期"} | PASS | P0 | GET /order/list with invalid token |
|
||||
| PASS-010 | 全角色 | 数据一致性 | 主链路执行后 | 核验核心表计数、孤儿预约、重复占用 | 无孤儿预约、无重复 active 占用 | counts={'t_user': 6, 't_shop': 4, 't_user_shop_binding': 5, 't_nail_artist_info': 2, 't_artist_schedule': 3, 't_product': 1, 't_order': 3, 't_order_item': 3, 't_appointment_reservation': 2, 't_user_agreement_consent': 2}, orphan=0, duplicate=0 | PASS | P0 | DB consistency |
|
||||
| UI-002 | 小程序端 | 微信开发者工具页面测试 | 当前会话未暴露微信开发者工具自动化入口 | 执行管理师/用户/设计师小程序页面真实点击 | 页面可交互、布局不遮挡 | 工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行 | BLOCKED | P3 | tool unavailable |
|
||||
|
||||
## 失败 / 阻塞项
|
||||
|
||||
| 用例编号 | 等级 | 状态 | 复现/证据 |
|
||||
|---|---|---|---|
|
||||
| ENV-002 | P3 | BLOCKED | HTTP 500 / Nacos dev host reachable; secrets redacted |
|
||||
| EDGE-001 | P0 | FAIL | {"code": 200, "message": "操作成功", "data": {"id": "322364874519130113", "orderNo": "ORD322364874519130112", "userId": "322364866830970880", "shopId": "322364862611501056", "shopName": "fd0608212248 normal shop edited", "totalAmount": 128.0, "actualAmount": 128.0, "couponId": null, "userCouponId": null, "couponSourceType": null, "couponName": null, "paymentStatus": "UNPAID", "payAmount": 128.0, "paidAmount": 0, "payTime": null, "paymentMethod": null, "paymentOrderNo": null, "refundStatus": null, "customerRemark": "fd0608212248", "quoteStatus": "CONFIRMING", "quoteStatusText": "确认价格中", "quoteUserConfirmed": false, "quoteShopConfirmed": false, "quoteExpireTime": "2026-06-09T21:22:55.3353326", "quoteConfirmedTime": null, "quoteMessages": [{"id": "322364874540101632", "orderId": "322364874519130113", "actorId": "322364866830970880", "actorType": "USER", "actorTypeText": "用户", "action": "CREATE", "actionText": "发起询价预约", "remark": "fd0608212248", "items": [{"orderItemId": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "quantity": 1, "referencePrice": 128.0, "quotedPrice": null, "confirmedPrice": null}], "createTime": "2026-06-08T21:22:55"}], "customerNickname": "fd0608212248 customer", "customerPhoneMasked": "191****0004", "artistOrderSource": null, "artistOrderSourceText": null, "status": 0, "statusText": "确认价格中", "createTime": null, "items": [{"id": "322364874523324416", "productId": "322364872862380032", "productTitle": "fd0608212248 主链路款式", "productImage": null, "quantity": 1, "price": 128.0, "referencePrice": 128.0, "quotedPrice": / POST /order/create duplicate |
|
||||
| UI-002 | P3 | BLOCKED | 工具阻塞:未发现可调用微信开发者工具/小程序 MCP;API+DB 联动已执行 / tool unavailable |
|
||||
@@ -1,35 +0,0 @@
|
||||
const http = require('http');
|
||||
const { URL } = require('url');
|
||||
|
||||
const listenPort = Number(process.env.PROXY_LISTEN_PORT || 81);
|
||||
const target = new URL(process.env.PROXY_TARGET || 'http://127.0.0.1:18081');
|
||||
|
||||
const server = http.createServer((clientReq, clientRes) => {
|
||||
const options = {
|
||||
protocol: target.protocol,
|
||||
hostname: target.hostname,
|
||||
port: target.port,
|
||||
method: clientReq.method,
|
||||
path: clientReq.url,
|
||||
headers: {
|
||||
...clientReq.headers,
|
||||
host: target.host
|
||||
}
|
||||
};
|
||||
|
||||
const proxyReq = http.request(options, proxyRes => {
|
||||
clientRes.writeHead(proxyRes.statusCode || 502, proxyRes.headers);
|
||||
proxyRes.pipe(clientRes);
|
||||
});
|
||||
|
||||
proxyReq.on('error', error => {
|
||||
clientRes.writeHead(502, { 'content-type': 'application/json; charset=utf-8' });
|
||||
clientRes.end(JSON.stringify({ code: 502, message: error.message }));
|
||||
});
|
||||
|
||||
clientReq.pipe(proxyReq);
|
||||
});
|
||||
|
||||
server.listen(listenPort, '127.0.0.1', () => {
|
||||
console.log(`proxy http://127.0.0.1:${listenPort} -> ${target.origin}`);
|
||||
});
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608202858",
|
||||
"steps": [],
|
||||
"mysql": {
|
||||
"v": "5.7.44",
|
||||
"ro": 0,
|
||||
"sro": 0
|
||||
},
|
||||
"backup": "E:\\yuminail\\artifacts\\full-regression\\nailart_backup_fd0608202858.sql",
|
||||
"initStatements": 387,
|
||||
"initErrors": [
|
||||
{
|
||||
"idx": 243,
|
||||
"error": "ProgrammingError(1064, \"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'expired rows release pending_key for a new request.\\n-- EXPIRED\\n\\n-- =============' at line 1\")",
|
||||
"sql": "expired rows release pending_key for a new request.\n-- EXPIRED\n\n-- ========================================\n-- vNext operations schema: schedule / reservation / payment / after sale / inventory / campaign / growth\n-- ========================================\n\nCALL sp_add_column_if_not_exists('t_order', 'payment_status', 'varchar(20) NOT NULL DEFAULT ''UNPAID'' COMMENT ''支付状态:UNPAID/PAYING/PAID/REFUNDED''')"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608203005",
|
||||
"initStatements": 386,
|
||||
"initErrors": [
|
||||
{
|
||||
"idx": 242,
|
||||
"error": "ProgrammingError(1064, \"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'expired rows release pending_key for a new request.\\n-- EXPIRED\\n\\n-- =============' at line 1\")",
|
||||
"sql": "expired rows release pending_key for a new request.\n-- EXPIRED\n\n-- ========================================\n-- vNext operations schema: schedule / reservation / payment / after sale / inventory / campaign / growth\n-- ========================================\n\nCALL sp_add_column_if_not_exists('t_order', 'payment_status', 'varchar(20) NOT NULL DEFAULT ''UNPAID'' COMMENT ''支付状态:UNPAID/PAYING/PAID/REFUNDED''')"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608203103",
|
||||
"initStatements": 386,
|
||||
"initErrors": [],
|
||||
"counts": {
|
||||
"t_user": 1,
|
||||
"t_shop": 0,
|
||||
"t_permission": 77,
|
||||
"t_product": 0,
|
||||
"t_order": 0,
|
||||
"t_order_item": 0,
|
||||
"t_appointment_reservation": 0,
|
||||
"t_artist_schedule": 0,
|
||||
"t_nail_artist_info": 0
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
$playwrightTemp = "C:\Users\win-2697\AppData\Local\Temp\codex-playwright-smoke"
|
||||
New-Item -ItemType Directory -Force -Path $playwrightTemp | Out-Null
|
||||
npm install --prefix $playwrightTemp playwright@latest
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH = Join-Path $playwrightTemp "node_modules"
|
||||
node "E:\yuminail\artifacts\full-regression\web_admin_smoke.js"
|
||||
@@ -1,12 +0,0 @@
|
||||
$env:VITE_DEV_PROXY_TARGET = "http://127.0.0.1:81"
|
||||
Remove-Item Env:\VITE_API_BASE_URL -ErrorAction SilentlyContinue
|
||||
Remove-Item Env:\VITE_ADMIN_API_BASE_URL -ErrorAction SilentlyContinue
|
||||
$process = Start-Process `
|
||||
-FilePath "npm.cmd" `
|
||||
-ArgumentList @("run", "dev", "--", "--host", "127.0.0.1", "--port", "3000") `
|
||||
-WorkingDirectory "E:\yuminail\YumiNail-Frontend" `
|
||||
-RedirectStandardOutput "E:\yuminail\artifacts\full-regression\frontend-3000.out.log" `
|
||||
-RedirectStandardError "E:\yuminail\artifacts\full-regression\frontend-3000.err.log" `
|
||||
-PassThru `
|
||||
-WindowStyle Hidden
|
||||
$process.Id
|
||||
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 259 KiB |
@@ -1,84 +0,0 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
async function main() {
|
||||
let chromium;
|
||||
try {
|
||||
({ chromium } = require('playwright'));
|
||||
} catch (error) {
|
||||
({ chromium } = require('@playwright/test'));
|
||||
}
|
||||
|
||||
const artifactDir = 'E:/yuminail/artifacts/full-regression';
|
||||
const runId = 'fd0608212248';
|
||||
const resultPath = path.join(artifactDir, `web_smoke_${runId}.json`);
|
||||
const loginShot = path.join(artifactDir, `web_admin_login_${runId}.png`);
|
||||
const dashboardShot = path.join(artifactDir, `web_admin_dashboard_${runId}.png`);
|
||||
const result = {
|
||||
runId,
|
||||
url: 'http://127.0.0.1:3000/admin/login',
|
||||
startedAt: new Date().toISOString(),
|
||||
status: 'BLOCKED',
|
||||
screenshots: [],
|
||||
checks: [],
|
||||
error: null
|
||||
};
|
||||
|
||||
const browser = await chromium.launch({ headless: true });
|
||||
const page = await browser.newPage({ viewport: { width: 1366, height: 768 } });
|
||||
try {
|
||||
await page.goto(result.url, { waitUntil: 'networkidle', timeout: 30000 });
|
||||
await page.screenshot({ path: loginShot, fullPage: true });
|
||||
result.screenshots.push(loginShot);
|
||||
const loginText = await page.locator('body').innerText({ timeout: 5000 }).catch(() => '');
|
||||
result.checks.push({
|
||||
name: 'login-page-text',
|
||||
pass: /登录|账号|密码|Fingertip Designer|后台/.test(loginText),
|
||||
detail: loginText.slice(0, 1000)
|
||||
});
|
||||
|
||||
const inputs = await page.locator('input').count();
|
||||
result.checks.push({ name: 'login-input-count', pass: inputs >= 2, detail: `inputs=${inputs}` });
|
||||
if (inputs >= 2) {
|
||||
await page.locator('input').nth(0).fill(`${runId}manager`);
|
||||
await page.locator('input').nth(1).fill('Aa888888!');
|
||||
await page.waitForTimeout(1200);
|
||||
}
|
||||
const buttons = await page.locator('button').count();
|
||||
result.checks.push({ name: 'login-button-count', pass: buttons >= 1, detail: `buttons=${buttons}` });
|
||||
if (buttons >= 1) {
|
||||
await page.locator('button').filter({ hasText: /登录|Sign/i }).first().click().catch(async () => {
|
||||
await page.locator('button').first().click();
|
||||
});
|
||||
}
|
||||
await page.waitForTimeout(3000);
|
||||
await page.screenshot({ path: dashboardShot, fullPage: true });
|
||||
result.screenshots.push(dashboardShot);
|
||||
const afterUrl = page.url();
|
||||
const dashboardText = await page.locator('body').innerText({ timeout: 5000 }).catch(() => '');
|
||||
result.checks.push({
|
||||
name: 'after-login-route',
|
||||
pass: /\/admin(\/|$)|\/dashboard/.test(afterUrl) && !/\/admin\/login$/.test(afterUrl),
|
||||
detail: afterUrl
|
||||
});
|
||||
result.checks.push({
|
||||
name: 'admin-page-content',
|
||||
pass: /店铺|订单|用户|作品|今日|后台|管理/.test(dashboardText),
|
||||
detail: dashboardText.slice(0, 1200)
|
||||
});
|
||||
result.status = result.checks.every(check => check.pass) ? 'PASS' : 'FAIL';
|
||||
} catch (error) {
|
||||
result.status = 'BLOCKED';
|
||||
result.error = error.stack || String(error);
|
||||
} finally {
|
||||
await browser.close();
|
||||
result.finishedAt = new Date().toISOString();
|
||||
fs.writeFileSync(resultPath, JSON.stringify(result, null, 2), 'utf8');
|
||||
console.log(JSON.stringify(result, null, 2));
|
||||
}
|
||||
}
|
||||
|
||||
main().catch(error => {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
});
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"runId": "fd0608212248",
|
||||
"url": "http://127.0.0.1:3000/admin/login",
|
||||
"startedAt": "2026-06-08T13:36:38.008Z",
|
||||
"status": "PASS",
|
||||
"screenshots": [
|
||||
"E:\\yuminail\\artifacts\\full-regression\\web_admin_login_fd0608212248.png",
|
||||
"E:\\yuminail\\artifacts\\full-regression\\web_admin_dashboard_fd0608212248.png"
|
||||
],
|
||||
"checks": [
|
||||
{
|
||||
"name": "login-page-text",
|
||||
"pass": true,
|
||||
"detail": "后台管理系统\n\n欢迎回来,请登录您的账户\n\n用户名\n密码\n登录店铺\n请先输入账号\n登 录\n返回前台"
|
||||
},
|
||||
{
|
||||
"name": "login-input-count",
|
||||
"pass": true,
|
||||
"detail": "inputs=3"
|
||||
},
|
||||
{
|
||||
"name": "login-button-count",
|
||||
"pass": true,
|
||||
"detail": "buttons=1"
|
||||
},
|
||||
{
|
||||
"name": "after-login-route",
|
||||
"pass": true,
|
||||
"detail": "http://127.0.0.1:3000/admin/dashboard"
|
||||
},
|
||||
{
|
||||
"name": "admin-page-content",
|
||||
"pass": true,
|
||||
"detail": "指尖设计师管理台\n首页\n仪表盘\n用户管理\n作品管理\n优惠券管理\n评论管理\n店铺管理\n权限管理\n标签管理\n订单管理\n排班管理\n售后处理\n库存管理\n活动管理\n美甲师管理\n消息发布\n公告管理\nVIP充值配置\nfd0608212248 normal shop edited\nfd0608212248 manager\n仪表盘\n当前店铺:fd0608212248 normal shop edited\n订单总额\n394.00元\n今日订单额\n394.00元\n客户数量\n1\n美甲师数量\n2\n浏览量\n0\n收藏量\n1\n加购量\n0\n下单量\n3\n支付订单\n0\n完成订单\n0\n评价数\n0\n复购数\n0\n经营概览\n近 7 日订单额\n¥394.00\n今日订单数\n3\n近 7 日新增订单\n3\n待处理订单\n2\n已完成订单\n0\n今日新增客户\n1\n近 7 日新增客户\n1\n作品数量\n1\n快捷跳转\n订单管理\n用户管理\n作品管理\n优惠券管理\n消息发布\n美甲师管理\n热门作品\nfd0608212248 主链路款式\n点赞 0 · 收藏 1\n¥128.00\n最近动态\n\n新品上架\n\n新品\"fd0608212248 主链路款式\"已上架\n\n14 分钟前\n\n新用户注册\n\n用户\"fd0608212248 customer\"注册成功\n\n14 分钟前\n\n新用户注册\n\n用户\"fd0608212248 artisttwo\"注册成功\n\n14 分钟前\n\n新用户注册\n\n用户\"fd0608212248 manager\"注册成功\n\n14 分钟前"
|
||||
}
|
||||
],
|
||||
"error": null,
|
||||
"finishedAt": "2026-06-08T13:37:16.997Z"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 27 KiB |