Commit Graph

467 Commits

Author SHA1 Message Date
zzh
b0fd3a30e1 feat: 微信在线支付入账加固(CAS 防重、禁人工审未付单、下单失败清理)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m29s
回调/查单/补偿走事务内原子占单再入账;关单同步驳回充值;创建先落单失败即 Failed;列表标记在线支付态。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-12-01 12:25:45 +08:00
zzh
955b673226 fix: 未排货时不再用产品编码占位 ChannelCode
All checks were successful
Build and Deploy / deploy (push) Successful in 1m23s
建单与单号上下文不再把 ProductCode 写入 ChannelCode;排货失败清掉历史占位,首次排货成功不再误清跟踪号。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-27 10:01:08 +08:00
zzh
caca756c94 fix: 官网封面图响应加长期 Cache-Control,并合并 CoverImage 迁移脚本。
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 16:31:12 +08:00
zzh
ef3a3abb9f fix: 封面图代理去掉 attachment,便于 CSS/img 内联展示
All checks were successful
Build and Deploy / deploy (push) Successful in 1m29s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 14:10:07 +08:00
zzh
9ad741e355 fix: 销售产品封面图改为同源 file 代理,不再签发 COS 直链
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 13:58:43 +08:00
zzh
b31efc7b56 feat: 销售产品支持官网封面图上传与门户展示
All checks were successful
Build and Deploy / deploy (push) Successful in 1m26s
产品配置可上传 CoverImage,门户精选线路目录返回封面 URL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 13:40:07 +08:00
zzh
443813a12b feat: 种子同步渠道报价提取 AI Skill
All checks were successful
Build and Deploy / deploy (push) Successful in 1m24s
补充 channelQuoteImport 场景技能,供更新买价失败 sheet 补齐使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-24 18:34:59 +08:00
zzh
935f017f21 feat: 预报前/落库前中文赋值脚本求值与执行
渠道 PreScript 改预报报文,销售产品 PreStorageScript 在创单落库前改写入参;字段白名单对齐下单页并补 AI skill。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-24 15:10:14 +08:00
zzh
8545e6c28c feat: 服务渠道支持黑名单区,排货命中跳过该渠道
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
合并迁移脚本含 BlacklistAreaId 与应付计重字段;规则发布钉包,LIVE 即时加载。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:47:26 +08:00
zzh
f66d567c49 feat: 服务渠道独立计重,应付与揽收应付用渠道计费重
All checks were successful
Build and Deploy / deploy (push) Successful in 1m24s
应收仍走销售产品计重;排货/重算应付/对账/揽收推费按渠道计重写入 PayableChargeableWeight,不改 ChargeableWeight。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:32:05 +08:00
zzh
d3713b9b26 feat: 品牌文案支持 ICP 备案号配置
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
品牌 copy JSON 增加 Icp 字段,读写归一化后供官网顾问栏与联系文案使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 15:52:01 +08:00
zzh
686bec2e5d feat: 财务合同管理与付款申请(含供应商/公司账户)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
新增合同与付款申请全链路 API、审批接入及迁移脚本;抬头列表附带客户信息便于管理端展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 14:56:24 +08:00
zzh
adb1dc322f feat: 开放品牌文案读写,短名全称走对象存储配置
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 12:22:57 +08:00
zzh
b8b18c4f59 feat: 开票管理与品牌/收款码同源出图
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
新增发票申请/抬头/审批接入,并将品牌 Logo、收款码改为 API 同源文件地址,避免浏览器直连 COS 证书域名失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 11:55:34 +08:00
zzh
7940b50edf feat: 订单通知加固(邮件订阅、统一日志、Outbox 重试与系统 SMTP)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
合并微信/邮件通知日志,支持 H5 双通道订阅、系统发信与操作日志摘要;上线前执行 sql/migrate_order_notify_all_20261121.sql。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 10:55:24 +08:00
zzh
569efca710 feat: 微信订单通知试发返回请求响应明细并扩展模板占位符
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 10:01:30 +08:00
zzh
63642dd13e feat: 入出库扫码支持单号类型解析与多命中候选
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
抽出共享 OrderScanNumberResolver,入出库查单/创建与面单打印统一按类型解析运单号。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 11:31:43 +08:00
zzh
22c283807a feat: 品牌 Logo 与充值收款码支持按渠道清除
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
新增 brand-logo/clear、payment-qr/clear,清空后前端可回退文字 LOGO / 空态。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 19:30:03 +08:00
zzh
1d48613285 feat: 州省城市 Excel 导入接口
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 17:56:23 +08:00
zzh
2b3694af82 fix: 州省城市种子强制 utf8mb4,并修复空/乱码中文名可重跑
All checks were successful
Build and Deploy / deploy (push) Successful in 1m23s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 17:41:13 +08:00
zzh
af9532f5df feat: 品牌 Logo 增加 mascot 渠道(启动页吉祥物)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 16:22:05 +08:00
zzh
8c1b7c0140 feat: 品牌 Logo 上传与匿名读取接口
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
新增 brand_logo 配置及 portal/site 渠道上传,供系统顶栏与官网展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 16:03:34 +08:00
zzh
2ced23e564 feat: 入库预报按扫码定位待上架详情
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
新增 lookup-by-scan,支持预报单号/箱唛/NoticeNo-Seq,供 H5 上架扫描使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 15:27:27 +08:00
zzh
884276d293 feat: 扩充国家城市种子,补齐地级市覆盖
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 14:10:50 +08:00
zzh
748afbf45b feat: 国家州省城市主数据与地址簿必填校验
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
支撑地址簿级联下拉与经营地图发件省归一;附 CN 种子迁移脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 12:32:06 +08:00
zzh
72a1a3590e feat: 新增经营地图工作台统计接口(产品/国家线路与热力)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 11:24:06 +08:00
zzh
cbe22652c0 fix: 审批终审后自动将待审批站内信标为已读
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
避免候选人通过/驳回/撤回后仍需单独点已读。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 11:48:35 +08:00
zzh
8376e03aa9 feat: 创建代发必绑,解绑回退直发并补事务
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
绑定保存/清空/扣减与删单走事务;工作台与 status-counts 不再统计 pendingBind。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 11:23:23 +08:00
zzh
2e415f79c0 chore: 合并 20261114–20261115 迁移脚本便于一键执行
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
汇总仓租、微信通知等近期 DDL/种子,方便测试环境一次性落库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 21:55:09 +08:00
zzh
13257d9c24 fix: 会员概览下一档按当前等级递进而非仅看积分门槛
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 20:46:00 +08:00
zzh
80830e310f fix: harden warehouse rent with lot backfill, billing lock, and unpaid inbound block
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 15:26:55 +08:00
zzh
ae0444b226 fix: hoist nullable filters so SqlSugar can translate warehouse rent bill list
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 15:14:47 +08:00
zzh
52df7307f6 feat: 仓租费率与日结扣费接入账户流水,并补充待支付微信通知
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:56:54 +08:00
zzh
2014ec3065 feat: 接入微信公众号订单状态模板通知
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
支持入库/出库/签收/派送失败/问题件推送,客户默认可选订阅,运营可配模板并试发。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:10:01 +08:00
zzh
79ebe77666 feat: 落地数据权限审计与公告一键已读
All checks were successful
Build and Deploy / deploy (push) Successful in 1m23s
补齐访问审计与订单/财务侧数据权限接入,并增加公告批量确认已读接口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 00:07:57 +08:00
zzh
d8f6a5c2b9 feat: 数据权限增加模块接入标记与订单可见量预览
All checks were successful
Build and Deploy / deploy (push) Successful in 1m19s
便于运营在配置页识别未落地模块,并按目标用户抽样验收订单范围。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 22:45:54 +08:00
zzh
13997ae5d0 feat: 单号规则支持截取模式,扫描条码按规则解析后再查单
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
新增 Generate/Extract 模式、匹配预览与运营扫描链路接入,并补充迁移种子与解析单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 19:28:10 +08:00
zzh
91d5aa1725 feat: 密码登录增加 IP 限流、失败锁定与图形验证码
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
降低账号密码撞库与爆破风险,失败达阈值后再要求验证码。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 19:26:50 +08:00
zzh
0e68f7a87e feat: 单号规则可配置生成(运单/客户单号/揽收/大包/主单)
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
支持按产品、渠道、国家匹配占位符公式,未命中沿用内置规则。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 18:12:52 +08:00
zzh
f8d2d563dc refactor: 品牌 IDE 切换为 BCD
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
运单号与新建工号改为 BCD 前缀;序号推算与轨迹识别仍兼容历史 IDE。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 18:10:19 +08:00
zzh
c2eae1c327 feat: 落库微信 UnionID,支持换公众号昵称+手机号迁移 OpenID
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
注册/绑定写入 UnionID;授权登录可回填。换公众号时昵称命中存量客户可凭手机号确认,更新 WechatOpenid 与 UnionID 后登录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:34:50 +08:00
zzh
40b2b7cb72 fix: 分区展示名优先用 KPI 方案名而非省市区
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 13:01:11 +08:00
zzh
3dfb587143 fix: 定价工作台预览分区显示可读名而非明细 Id
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 12:58:50 +08:00
zzh
d1beefb2be feat: 定价工作台买价反推卖价预览与草稿回写
All checks were successful
Build and Deploy / deploy (push) Successful in 1m16s
支持多渠道最低买价对齐合成、毛利率硬计算预览,以及回写销售产品草稿卖价(不自动发布)。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 11:19:36 +08:00
zzh
8a4a0787cd feat: 客户余额人工调整写入账户流水
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
新增 /customer/adjust-balance;更新接口忽略直接改余额,避免无痕调整。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 17:34:45 +08:00
zzh
f453661e46 feat: AI 对话支持 ops 受众,运营端不挂客户 MCP 工具
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
Audience=ops 时强制空工具并切换运营排障系统提示,避免误调查价/轨迹/对客说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 14:33:28 +08:00
zzh
28477e98bb fix: 卖价费用项依赖附加服务时校验产品已勾选对应服务
All checks were successful
Build and Deploy / deploy (push) Successful in 1m17s
避免保险费/代打包费在产品未开通附加服务时仍可保存或发布,下单无法勾选导致收不到费。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 10:14:54 +08:00
zzh
9e45e7f185 feat: 营销分析增加积分健康度汇总接口
All checks were successful
Build and Deploy / deploy (push) Successful in 2m4s
按流水时间统计发放/扣回/调账与环比趋势,并返回账户可用积分时点沉淀。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 08:59:14 +08:00
zzh
26ef78d01e fix: 营销/代理分析查询改为串行,避免 MySQL 连接复用报错
All checks were successful
Build and Deploy / deploy (push) Successful in 1m20s
同一作用域 SqlSugar 连接不能 Task.WhenAll 并发查询。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 18:36:25 +08:00
zzh
6b00451914 feat: 营销/代理分析汇总 API,并补应收应付代理字段
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
为老板看板提供服务端区间汇总(总览、排行/漏斗与导出),应收应付列表带上 AgentId 供财务分析代理维使用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 18:32:39 +08:00