This commit is contained in:
2026-05-28 03:06:19 +08:00
parent d7e16ee9c4
commit 6eaa171ba4
8 changed files with 76 additions and 9 deletions

20
docs/流程图.mmd Normal file
View File

@@ -0,0 +1,20 @@
graph TD
A[开始: 订单状态未支付] --> B{最后一次查单结果<br/>是否成功?}
B -- 失败 --> C[标记: 接口异常/待重试]
B -- 成功 --> D{系统内是否有<br/>匹配记录?}
D -- 有记录 --> E[按正常流程处理]
D -- 无记录 --> F[查询当天整天流水]
F --> G{当天是否有<br/>其它成功流水?}
G -- 有流水 --> H[结论: 没付<br/>原因: 流水正常/该单未付]
G -- 无流水 --> I[查询前1-2天流水]
I --> J{前1-2天是否有<br/>成功流水?}
J -- 有流水 --> H
J -- 无流水 --> K[结论: 判定为异常或死卡<br/>原因: 持续无数据,需检查通道]
%% 样式定义
style H fill:#f96,stroke:#333,stroke-width:2px
style K fill:#ff9,stroke:#333,stroke-width:2px
style C fill:#ccc,stroke:#333