提交图

40 次代码提交

作者 SHA1 备注 提交日期
xcbyy
0a2470bddd refactor(activity): 移除活动品类与合规商圈的本地兜底数据,完全由后台配置驱动
- 发起组局页 games 初始改为空,仅从 nav_categories(status=1) 加载;加载失败/为空显示重试提示,禁止提交空品类

- 合规商圈初始改为空,仅从 safety_places(status=正常营业) 加载;无数据时提示手动填写地点

- 活动列表品类导航移除默认 3 个兜底品类

- 117 套件/764 用例全绿
2026-10-22 16:40:06 +08:00
xcbyy
fba6c5ac22 feat(auth): 移除多角色体验账号直登,仅保留微信手机号授权登录
- 登录页删除体验账号卡片、切换按钮与全部 demo 登录/失败回退逻辑,微信授权失败只提示重试

- completeLogin 只接受服务端签发的 token,禁止无 token 的假登录

- 删除 /api/auth/demo-accounts、/api/auth/demo-login、loadDemoAccounts 与客户端 API

- 停止种子 demo_accounts 配置并清理历史配置行;117 套件/763 用例全绿;线上接口已 404
2026-10-22 15:45:48 +08:00
xcbyy
aca35db200 feat(order): 派单实时通知 + 订单站内聊天
- 新派单(余额支付立即入池 / 微信支付确认后入池)向在线认证大神推送 ORDER_POOL 站内通知;雷达 20s、接单大厅 30s 自动轮询

- 新增 order_messages 表与订单会话接口:仅买家与已认领大神可访问,服务端拦截手机号与违规内容,消息落库并推送 CHAT 通知

- 新增 pages/order/chat 聊天页(3s 轮询、已读、发送),买家订单「联系大神」与大神工作台「联系老板」接入

- 114 套件/744 用例全绿;线上实测聊天/越权/手机号拦截/新单通知均通过,测试数据已清理
2026-10-22 08:52:12 +08:00
xcbyy
16f6419cba refactor(data): 全面移除小程序写死的演示/兜底数据,测试数据统一落库
- 删除无引用的 common/mock.js;登录页与个人中心的演示账号改为 DB 配置 demo_accounts + /api/auth/demo-accounts、/api/auth/demo-login(签发真实 token)

- 移除订单/活动/大神/动态/推广/工作台/门票/充值/举报等页面的演示列表与假兜底;新增真实空态

- 修复伪造成功:活动调价、评价回复、核销、海报保存、图片上传失败、提现/核销固定 1001、随机开黑房号、随机即时匹配、假语音播放等

- 服务端移除 101/2006 合成用户与合成大神兜底、移除默认服务包虚构价格;演示账号清单可在后台关闭

- 111 套件/733 用例全绿;已部署 20261021_162041,demo-accounts/demo-login 实测通过
2026-10-21 16:21:10 +08:00
xcbyy
6576c9e4be feat(coupon): 优惠券中心(领取)+ 我的券 + 下单核销/回退
- 新表 user_coupons(快照面额/门槛/类目/有效期)+ orders.user_coupon_id
- 仓储:getCouponsWithClaimed/claimCoupon/getUserCoupons/resolveUserCoupon/consumeUserCoupon/releaseUserCouponByOrder
- 接口:POST /api/marketing/coupons/:id/claim(同券仅一次、受总量限制)、GET /api/marketing/my-coupons(自动标记过期)、券中心带 claimed 标识
- 下单:createOrder 支持 userCouponId(校验归属/门槛/类目/有效期,服务端算抵扣,与订单同事务占用)
- 回退:买家取消/大神拒单/超时退款/仲裁退款 均把券退回为 UNUSED
- 小程序:新增 pages/user/coupons(券中心+我的券)、个人中心入口(可用张数)、下单改为选择"我的券"并传 userCouponId
- 回归 94 套件/666 用例全绿;冒烟 9/9(领取/重复领取409/不存在404/下单抵扣100-10=90/取消回退)
2026-10-19 15:05:56 +08:00
xcbyy
ca7f849b14 feat(notify): 新增站内消息通知中心(订阅消息兜底)+ 清理后台伪造数据
- 新表 user_notifications + 仓储方法(创建/列表/未读数/标记已读)
- 用户接口 GET /api/notifications、POST /api/notifications/read(生产需登录)
- 关键节点落库:订单开始服务/接单/拒单/申请完成/完成结算/提现到账/报名成功/退款受理
- 小程序新增「消息通知」页(pages/user/notifications) + 个人中心入口与未读角标;api.js 增加 getNotifications/markNotificationsRead
- 清理后台伪造数据:/api/user/certification 改空态、/api/user/my-project/list 改空数组、/api/user/info 去掉编造邮箱/电话/网址
- 更新 pages 数量断言(26→27);新增回归护栏 notification-center.spec.ts(92 套件/658 用例全绿);冒烟 9/9
2026-10-19 14:31:11 +08:00
xcbyy
2599dce315 feat(security): 三端闭环加固 + 微信提现打款/订阅消息落地
后端: 身份与归属鉴权收口; 资金安全(结算闸门/支付防篡改/报名费真实扣款/赠金/结算唯一入账/提现打款); 数据泄露与隐私; 登录与密钥安全(默认密钥闸门/登录限流); 可观测性; 启动自检.

微信: 商家转账到零钱提现打款闭环(含回调/查单/失败退回佣金); 订阅消息真实下发闭环与后台模板字段对齐.

后台: 财务/微信支付配置读取失败锁定; 看板/待办/走势去假数据; 打款与测试推送文案修正.

小程序: 请求层错误透传与登录过期提示; 多页失败反馈与乐观回滚; 帮助中心FAQ页面化.

测试: 新增 40+ 回归护栏与真实 MySQL 冒烟(75 套件/599 用例全绿).
2026-10-17 18:00:09 +08:00
xcbyy
78117bb4e1 feat: security hardening, wechat pay v3 platform cert integration, companion certification revocation, and audit closed-loop 2026-10-16 17:38:17 +08:00
xcbyy
56e672219e fix(modal): resolve premature modal closing caused by unsupported click.self in wechat miniprogram 2026-10-13 16:54:55 +08:00
xcbyy
d08acc052a feat(community): combine marquee scroll with detail modal for pinned notice 2026-10-13 16:35:35 +08:00
xcbyy
859b224d65 feat(expert): adapt expert detail page to dual-theme system with theme-warm support 2026-10-13 16:08:48 +08:00
xcbyy
1853e653fb fix(core): comprehensive fix for state loss across activity, ticket, workspace, favorites and community 2026-10-13 16:01:19 +08:00
xcbyy
497fb65359 fix(community): persist post liked status in MySQL and local storage to prevent state loss on page switch 2026-10-13 15:46:04 +08:00
xcbyy
3d895a1a0a fix(community): add missing heart and heartFilled icons to restore like button rendering 2026-10-13 15:37:07 +08:00
xcbyy
7a5e515b8b feat(user): replace distribution modal with dedicated promote page 2026-10-13 15:17:15 +08:00
xcbyy
831dd4a493 fix(order-list): ensure back button returns to user center instead of home page 2026-10-13 15:04:32 +08:00
xcbyy
63b18512f6 fix(order-list): add immersive custom navigation bar and return button with dual-theme adaptation 2026-10-13 15:00:12 +08:00
xcbyy
c3e7bd016b fix(user): fix missing FROM clause in getUserById SQL and add fallback for user 2006 2026-10-13 14:39:41 +08:00
xcbyy
3b0268ab10 feat(bill): convert bill records modal into dedicated independent page 2026-10-13 14:10:00 +08:00
xcbyy
661d0d2589 feat(withdraw): convert withdraw records modal into dedicated independent page 2026-10-13 10:06:15 +08:00
xcbyy
cf11d5654b fix(withdraw): remove alipay/bank channels and enhance rules card text contrast in warm theme 2026-10-13 09:58:16 +08:00
xcbyy
26735530b4 fix(user): remove obsolete withdrawal modal and recompile mp-weixin to dedicated withdraw page 2026-10-13 09:44:13 +08:00
xcbyy
1fb0cc4273 feat(withdraw): build dedicated withdrawal page with optimized layout and multichannel support 2026-10-13 09:19:34 +08:00
xcbyy
e867488d0d feat(expert): full closure of expert revenue trends, multichannel withdrawals, service manage, review reply and post manage 2026-10-13 09:13:06 +08:00
xcbyy
a004584109 fix(modal): restrict confirmText length to 4 chars and safeguard banner null access 2026-10-13 08:50:20 +08:00
xcbyy
6e78a7e4b7 feat(user): enable opening profile edit modal by clicking avatar or nickname 2026-10-13 08:44:36 +08:00
xcbyy
8d85ed54b2 feat(protocol): add dedicated full-text legal protocol page with smooth scroll view and link from login and user center 2026-10-13 08:35:47 +08:00
xcbyy
334b7a63b0 feat(auth): compact agreement layout to single-line and support flexible backend configuration for user agreement and privacy policy 2026-10-12 09:20:40 +08:00
xcbyy
f899829000 refactor(auth): simplify login page by removing redundant profile form and focusing on one-click auth 2026-10-12 09:02:27 +08:00
xcbyy
70623193a1 feat(auth): create dedicated official standard WeChat login page and remove popup modal 2026-10-10 17:48:35 +08:00
xcbyy
d7460f898d feat(expert): create dedicated expert apply page and navigate from user center 2026-10-10 16:57:48 +08:00
xcbyy
37b52c1efe feat(user): update login button label and integrate wechat native getPhoneNumber auth 2026-10-10 16:50:26 +08:00
xcbyy
593d44bdbd feat(user): add logout, demo account switcher and guest state support 2026-10-10 16:20:55 +08:00
xcbyy
3a700c42a1 feat(activity): implement P4 member self-service leave and ticket refund channel 2026-10-10 15:56:55 +08:00
xcbyy
7ac81035b4 feat(order): support balance payment, dynamic marketing coupon recommendation, and quick activity picker 2026-10-10 15:37:41 +08:00
xcbyy
872af22c20 feat(config): add finance rules, activity rules, and real expert application flow 2026-10-10 14:06:29 +08:00
xcbyy
d7f5c31762 feat(safety): add expert skill tags and price range constraints configuration 2026-10-10 13:56:38 +08:00
xcbyy
2e726e125d feat(config): implement dynamic security blocklist and home marketing popup with admin controls 2026-10-10 13:49:01 +08:00
xcbyy
d23975aa3a fix(uniapp): 修复pages.json虚拟分包导致的微信开发者工具丢失wxml错误,确保13个原生页面物理文件对齐 2026-10-10 08:43:02 +08:00
xcbyy
c6049f64d9 feat(compliance): 完善微信内容安全检测、用户隐私保护指引弹窗与主包分包加载架构 2026-10-09 19:09:40 +08:00