1.对接平台接口新增api-key参数

This commit is contained in:
2026-05-25 09:31:24 +08:00
parent 9a43e1d8f2
commit cde5a851e5
10 changed files with 105 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ declare(strict_types=1);
$options = getopt('', ['agent_id:', 'secret:', 'time::']);
$agentId = $options['agent_id'] ?? '5ef059938ba799aaa845e1c2e8a762bd';
$agentId = $options['agent_id'] ?? '202cb962ac59075b964b07152d234b70';
$secret = $options['secret'] ?? 'xF75oK91TQj13s0UmNIr1NBWMWGfflNO';
$time = $options['time'] ?? (string) time();