Files
JayuCloud/artifacts/full-regression/acceptance_fd0608212248.md
T

84 lines
40 KiB
Markdown

# 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 |