Commit Graph

386 Commits

Author SHA1 Message Date
zzh
7827b4803e feat: slim rules/price publish snapshots with PostcodeRange (left,right]
Use slim DTOs without audit timestamps; migrate legacy LeftPostcode/RightPostcode on read.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 14:10:34 +08:00
zzh
d8a98fbbc8 feat: 规则发布预览接口并抽取快照组装逻辑
新增 GET publish/preview 返回含黑名单/偏远/计重/进位明细的完整 rules 快照,便于核对 Content。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 13:48:07 +08:00
zzh
2c69e8e5b8 feat: 规则快照固化计重/分区规则并修正卖价公式
规则发布写入黑名单、偏远、计重规则与进位明细;查价/下单优先读快照。修正 unit/total/continue 算价及续单价相邻档位总价基数。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 12:57:34 +08:00
zzh
8aa6ceb677 fix: 价格发布从卖价明细分区推断 PriceAreaId 并写入快照
产品未配置 PriceAreaId 时,根据卖价明细「分区」值匹配 t_kpi_area 或 t_kpi_area_info 后固化 PriceAreaInfos。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:58:01 +08:00
zzh
3a65e8c58f feat: 价格发布快照固化分区规则,查价优先从快照匹配不再查库
发布/LIVE 快照写入 PriceAreaId、PriceAreaInfos;US+06000 命中分区键 3 单测通过。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 11:20:33 +08:00
zzh
cd061aaaed fix: 查价失败原因按价格项细化,指出分区/重量等具体不匹配项
新增 ExplainQuotePriceMiss 逐条说明运费/操作费等未命中原因;zone 失败时附带卖价明细分区。单元测试 6/6 通过。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 10:49:08 +08:00
zzh
94a503afb3 fix: 查价分区键从国家+邮编解析,移除默认分区兜底
PriceAreaId 优先取产品表并从规则快照回退;未命中 t_kpi_area_info 时在 zone 步骤返回明确原因,避免与卖价明细分区键不匹配。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 10:31:52 +08:00
zzh
148caae1e7 查价增强与小包国家码:查价忽略收费时机,支持 unit/total 字典公式与重量左开右闭区间,未命中返回 failures 步骤与原因;收发件人 countryCode 改为 ISO 二字码。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 09:57:14 +08:00
zzh
13ccd198d5 修复创建订单报错 2026-06-25 19:59:06 +08:00
zzh
b7ed14d6af 修复订单隔离和查价 2026-06-25 19:39:07 +08:00
zzh
00835bfadd 修复充值和查价 2026-06-25 19:10:44 +08:00
zzh
12ee25ad57 build 2026-06-25 17:47:46 +08:00
zzh
f18dd7a470 修复充值 2026-06-25 12:14:59 +08:00
zzh
1c5a38ad73 微信登录和创建应收和应付费用 2026-06-24 17:00:35 +08:00
c1219e0238 ok 2026-06-10 17:57:43 +08:00
dab31a7c8f fix:audit 2026-06-10 10:30:41 +08:00
73d4d112a2 1 2026-06-09 15:37:56 +08:00
20b95da384 1 2026-06-09 15:37:52 +08:00
96724376a6 feat: new 2026-04-29 09:38:07 +08:00
6458ab89ba fix 2026-04-22 17:48:05 +08:00
22bb8ab425 ai-fix 2026-04-21 17:54:52 +08:00
4fa45b6944 ai-fix:proxy https police? 2026-04-17 11:25:50 +08:00
2e65ea4ee7 feat:remarks 2026-04-17 11:09:01 +08:00
829af8c576 upgrade 2026-04-16 17:22:58 +08:00
a4e73283af append 2026-04-15 17:05:30 +08:00
b912c5b159 feat: remarks 2026-04-15 16:50:57 +08:00
91a8ccdecb ai-init 2026-04-15 15:25:38 +08:00
b1520cfebf feat: add consul kv 2026-03-20 15:48:22 +08:00
85627807eb add fei shu 2026-03-20 15:42:08 +08:00
d242518040 Merge remote-tracking branch 'origin/master' 2026-03-20 15:40:37 +08:00
xiaoliutral
2572d1a202
Update Dockerfile path in CI workflow 2026-03-20 15:40:53 +08:00
5b8fa4a577 move 2026-03-20 15:40:25 +08:00
xiaoliutral
9e5f938185
Update master.yml 2026-03-20 15:37:14 +08:00
xiaoliutral
1128e2a484
Add CI/CD pipeline configuration for deployment 2026-03-20 15:29:29 +08:00
31f13dac73 add docker 2026-03-20 15:24:40 +08:00
619518e7bf init 2026-03-20 15:15:43 +08:00