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