业务一
cus
2026-09-27 07:45:12.345
动作:create
→ pending
金额:1.10
创建房间:recharge_request → wal
展开看详细数据
{
"msg_id": "M260927074512dd621d95",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "充值",
"action": "recharge_request",
"route_key": "",
"route": [
"cus",
"wal",
"cus"
],
"step": 1,
"via": [
"cus"
],
"from": "cus",
"to": "wal",
"born": "2026-09-27 07:45:12",
"data": {
"order_no": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"available_balance": 23.7,
"pay_amount": 1.1,
"balance_after": 0,
"wx_status": "pay_wait",
"bill_status": "pay_none",
"source": "cus",
"openid": "okN0E3IJ8nMOQZcyRcUsx6T2kiPM",
"refresh": 0
}
}
通道提醒
cus
2026-09-27 07:45:12.830
动作:channel
→
金额:1.10
🟢直连:recharge_request → wal
展开看详细数据
{
"channel": "direct",
"to": "wal"
}
业务二
wal
2026-09-27 07:45:19.249
动作:next
pending → pending
金额:1.10
原房间续写:recharge_request → bill
展开看详细数据
{
"msg_id": "M260927074519e634728e",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "钱包线路车",
"action": "recharge_request",
"route_key": "",
"route": [
"wal",
"bill",
"wal"
],
"step": 1,
"via": [
"wal"
],
"from": "wal",
"to": "bill",
"born": "2026-09-27 07:45:19",
"data": {
"biz_code": "none",
"order_id": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"biz_type": "recharge",
"biz_amount": 1.1,
"biz_reason": "用户充值",
"agent_id": 0,
"commission": 0,
"commission_reason": "",
"remark": "V2微信扫码充值 房间=CZ20260927074512073128 微信单=CZ20260927074512073128",
"_sent_at": "2026-09-27 07:45:19",
"old_balance": 23.7,
"transaction_id": "4500000477202609276766454078",
"time_end": "2026-09-27T07:45:18+08:00",
"trade_type": "JSAPI",
"openid": "okN0E3IJ8nMOQZcyRcUsx6T2kiPM",
"total_fee": 110,
"wx_status": "pay_ok"
}
}
业务三
bill
2026-09-27 07:45:19.307
动作:next
pending → pending
金额:1.10
原房间续写:recharge_result → cus
展开看详细数据
{
"msg_id": "M2609270745192a88aab3",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "充值结果",
"action": "recharge_result",
"route_key": "",
"route": [
"bill",
"cus",
"bill"
],
"step": 1,
"via": [
"bill"
],
"from": "bill",
"to": "cus",
"born": "2026-09-27 07:45:19",
"data": {
"order_no": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"amount": 1.1,
"pay_amount": 1.1,
"available_balance": 23.7,
"balance_before": 23.7,
"balance": 24.8,
"balance_after": 24.8,
"frozen": 0,
"wx_status": "pay_ok",
"bill_status": "pay_ok",
"transaction_id": "4500000477202609276766454078",
"msg": "充值到账成功"
}
}
认领
cus
2026-09-27 07:45:34.779
动作:dispatch
pending → processing
金额:1.10
认领任务:recharge_result
展开看详细数据
{
"msg_id": "M2609270745192a88aab3",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "充值结果",
"action": "recharge_result",
"route_key": "",
"route": [
"bill",
"cus",
"bill"
],
"step": 1,
"via": [
"bill"
],
"from": "bill",
"to": "cus",
"born": "2026-09-27 07:45:19",
"data": {
"order_no": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"amount": 1.1,
"pay_amount": 1.1,
"available_balance": 23.7,
"balance_before": 23.7,
"balance": 24.8,
"balance_after": 24.8,
"frozen": 0,
"wx_status": "pay_ok",
"bill_status": "pay_ok",
"transaction_id": "4500000477202609276766454078",
"msg": "充值到账成功"
}
}
失败
cus
2026-09-27 07:45:34.793
动作:fail
processing → fail
金额:1.10
cus 缺少 config/database.php 或 api/_lib/fund_helper.php
失败原因:cus 缺少 config/database.php 或 api/_lib/fund_helper.php
展开看详细数据
{
"ok": false,
"abort": true,
"msg": "cus 缺少 config\/database.php 或 api\/_lib\/fund_helper.php"
}
业务四
wal
2026-09-27 07:45:36.613
动作:next
fail → pending
金额:1.10
原房间续写:recharge_request → bill
展开看详细数据
{
"msg_id": "M260927074536516aaf91",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "钱包线路车",
"action": "recharge_request",
"route_key": "",
"route": [
"wal",
"bill",
"wal"
],
"step": 1,
"via": [
"wal"
],
"from": "wal",
"to": "bill",
"born": "2026-09-27 07:45:36",
"data": {
"biz_code": "none",
"order_id": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"biz_type": "recharge",
"biz_amount": 1.1,
"biz_reason": "用户充值",
"agent_id": 0,
"commission": 0,
"commission_reason": "",
"remark": "V2微信扫码充值 房间=CZ20260927074512073128 微信单=CZ20260927074512073128",
"_sent_at": "2026-09-27 07:45:36",
"old_balance": 23.7,
"transaction_id": "4500000477202609276766454078",
"time_end": "2026-09-27T07:45:18+08:00",
"trade_type": "JSAPI",
"openid": "okN0E3IJ8nMOQZcyRcUsx6T2kiPM",
"total_fee": 110,
"wx_status": "pay_ok"
}
}
失败
wal
2026-09-27 07:45:36.627
动作:fail
→ fail
金额:1.10
⛔通道禁用(直连/敲门双关),发单拒收:recharge_request → bill
失败原因:该通道已被手动关闭(直连、敲门均停用),发单拒收
展开看详细数据
{
"channel": "none",
"to": "bill"
}
通道提醒
wal
2026-09-27 07:45:49.276
动作:channel
→
金额:1.10
🟢直连:recharge_request → bill(直连未通,消息已排队,通了自动补发)
展开看详细数据
{
"channel": "direct",
"to": "bill"
}
通道提醒
bill
2026-09-27 07:45:49.343
动作:channel
→
金额:1.10
🟢直连:recharge_result → cus(直连未通,消息已排队,通了自动补发)
展开看详细数据
{
"channel": "direct",
"to": "cus"
}
业务五
wal
2026-09-27 07:45:52.100
动作:next
fail → pending
金额:1.10
原房间续写:recharge_request → bill
展开看详细数据
{
"msg_id": "M260927074552fac2bbce",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "钱包线路车",
"action": "recharge_request",
"route_key": "",
"route": [
"wal",
"bill",
"wal"
],
"step": 1,
"via": [
"wal"
],
"from": "wal",
"to": "bill",
"born": "2026-09-27 07:45:52",
"data": {
"biz_code": "none",
"order_id": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"biz_type": "recharge",
"biz_amount": 1.1,
"biz_reason": "用户充值",
"agent_id": 0,
"commission": 0,
"commission_reason": "",
"remark": "V2微信扫码充值 房间=CZ20260927074512073128 微信单=CZ20260927074512073128",
"_sent_at": "2026-09-27 07:45:52",
"old_balance": 23.7,
"transaction_id": "4500000477202609276766454078",
"time_end": "2026-09-27T07:45:18+08:00",
"trade_type": "JSAPI",
"openid": "okN0E3IJ8nMOQZcyRcUsx6T2kiPM",
"total_fee": 110,
"wx_status": "pay_ok"
}
}
认领
bill
2026-09-27 07:45:52.170
动作:dispatch
pending → processing
金额:1.10
认领任务:recharge_request
展开看详细数据
{
"msg_id": "M260927074552fac2bbce",
"trace_id": "T260927074512258e93fe",
"order_no": "CZ20260927074512073128",
"truck": "钱包线路车",
"action": "recharge_request",
"route_key": "",
"route": [
"wal",
"bill",
"wal"
],
"step": 1,
"via": [
"wal"
],
"from": "wal",
"to": "bill",
"born": "2026-09-27 07:45:52",
"data": {
"biz_code": "none",
"order_id": "CZ20260927074512073128",
"user_id": "P9D87737WU29",
"biz_type": "recharge",
"biz_amount": 1.1,
"biz_reason": "用户充值",
"agent_id": 0,
"commission": 0,
"commission_reason": "",
"remark": "V2微信扫码充值 房间=CZ20260927074512073128 微信单=CZ20260927074512073128",
"_sent_at": "2026-09-27 07:45:52",
"old_balance": 23.7,
"transaction_id": "4500000477202609276766454078",
"time_end": "2026-09-27T07:45:18+08:00",
"trade_type": "JSAPI",
"openid": "okN0E3IJ8nMOQZcyRcUsx6T2kiPM",
"total_fee": 110,
"wx_status": "pay_ok"
}
}
业务六
bill
2026-09-27 07:45:52.191
动作:done
processing → done
金额:1.10
该充值单已记过账(幂等忽略)
展开看详细数据
{
"ok": true,
"msg": "该充值单已记过账(幂等忽略)",
"data": []
}
通道提醒
wal
2026-09-27 07:45:52.201
动作:channel
→
金额:1.10
🔔敲门:recharge_request → bill
展开看详细数据
{
"channel": "knock",
"to": "bill"
}