24 次代码提交

作者 SHA1 备注 提交日期
xcbyy
1681d5d086 fix(mp): 拆分 expert/community 为分包,主包从 1.6MB 降到 1.2MB 以内
- pages/expert(大神主页/入驻/工作台/雷达/大厅)与 pages/community(友圈/动态详情)改为分包,路由路径不变

- 首页预下载两个分包,避免首次进入等待

- 解决微信开发者工具上传报 source size 超 2MB 的问题
2026-10-26 11:00:17 +08:00
xcbyy
be1c7be5d3 revert(order): 移除订单站内聊天,沟通统一走官方客服
- 删除 pages/order/chat、聊天接口/仓储方法/order_messages 建表与客户端 API

- 买家「联系大神」、大神「联系老板」、大神详情「在线客服」、组局「私聊」统一改为 openSupportSheet(读取后台 customer_service 配置的客服微信/热线)

- 保留派单实时通知与雷达/大厅轮询

- 114 套件/742 用例全绿;聊天接口线上已 404
2026-10-22 09:10:16 +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
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
7a5e515b8b feat(user): replace distribution modal with dedicated promote page 2026-10-13 15:17:15 +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
1fb0cc4273 feat(withdraw): build dedicated withdrawal page with optimized layout and multichannel support 2026-10-13 09:19:34 +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
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
314bcece55 fix(tabbar): import AppTabBar explicitly and use AppTabBar in templates for reliable rendering 2026-10-10 16:37:24 +08:00
xcbyy
ac20bf1c5f fix(uniapp): resolve css syntax error in create order and rename custom-tab-bar to app-tab-bar 2026-10-10 16:34:12 +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
xcbyy
d0f4050cdc feat: 完善对象存储上传与真实条码二维码引擎,彻底剥离保底Mock数据 2026-10-09 17:18:14 +08:00
wikiboss
6f6e6229ec feat(ui): 移除四大TabBar主页原生navbar实现全沉浸式视觉体验 2026-09-16 20:46:32 +08:00
wikiboss
341023c77b feat(companion): 全面扩展同城生活陪伴体系(陪吃·陪喝·陪玩),完成TDD测试与安全核销闭环 2026-09-16 20:12:54 +08:00
wikiboss
1b6fe5820e feat(activity,expert): 新增发起组队活动页面与大神接单工作台,完成4位数字门票码现场核销业务闭环 2026-09-16 17:13:34 +08:00
wikiboss
935d6fa840 feat(pwuniapp): 在HBuilderX原生工程中实现电竞暗夜流光全套静态UI页面及4位门票核销 2026-09-16 16:47:30 +08:00