优化生成签名脚本
This commit is contained in:
@@ -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 === '') {
|
||||
|
||||
Reference in New Issue
Block a user