fix: 部分收付累计释额并扩展结算 E2E 与 CI
账期收付改为按累计已付同步 credit_ledger,修复多笔 partial_paid 与坏账核销重复释额;新增 API E2E(占成、权限、部分收付/坏账)与 GitHub Actions e2e-api job。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* 5. 余额不足 1001:把 balance 改到 0 → transfer-out → 1001
|
||||
* 6. 幂等冲突 1010:同 idempotent_key 第二次 amount 不同 → 1010
|
||||
*
|
||||
* 不覆盖(需外部主站 mock 才能跑,留 skip + 文档):
|
||||
* 不覆盖(需外部主站 mock 或改配置才能跑):
|
||||
* - 主站失败 1009(需真主站返 5xx)
|
||||
* - 主站超时 504/408 → 1002 pending_reconcile(需真主站返 timeout)
|
||||
* - 转入关 1004(需 .env 关 transfer_in_enabled,跑前要改)
|
||||
|
||||
Reference in New Issue
Block a user