优化生成签名脚本

This commit is contained in:
2026-05-13 09:47:25 +08:00
parent 80d39ed1cd
commit e74fc6069c

View File

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