Commit b1ed068f9d9cca7d72b2e980b4358f2b7887635c
1 parent
0e2ed4ef
chore: add debug log for wechat appid
Showing
1 changed file
with
4 additions
and
0 deletions
| ... | ... | @@ -77,6 +77,10 @@ $ws_worker->onWorkerStart = function ($worker) use ($config) { |
| 77 | 77 | $ws_port = $config['server']['websocket_port']; |
| 78 | 78 | echo "Relay Server Started on {$ws_host}:{$ws_port}\n"; |
| 79 | 79 | |
| 80 | + // Debug: Check WeChat Config | |
| 81 | + $appId = $config['wechat']['app_id'] ?? 'Not Set'; | |
| 82 | + echo "Loaded WeChat AppID: {$appId}\n"; | |
| 83 | + | |
| 80 | 84 | // Heartbeat check |
| 81 | 85 | $check_interval = $config['heartbeat']['check_interval']; |
| 82 | 86 | Timer::add($check_interval, function () use ($worker) { | ... | ... |
Please
register
or
login
to post a comment