优化生成签名脚本
This commit is contained in:
@@ -11,8 +11,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
$options = getopt('', ['agent_id:', 'secret:', 'time::']);
|
$options = getopt('', ['agent_id:', 'secret:', 'time::']);
|
||||||
|
|
||||||
$agentId = $options['agent_id'] ?? '';
|
$agentId = $options['agent_id'] ?? '5ef059938ba799aaa845e1c2e8a762bd';
|
||||||
$secret = $options['secret'] ?? '';
|
$secret = $options['secret'] ?? 'xF75oK91TQj13s0UmNIr1NBWMWGfflNO';
|
||||||
$time = $options['time'] ?? (string) time();
|
$time = $options['time'] ?? (string) time();
|
||||||
|
|
||||||
if ($agentId === '' || $secret === '' || $time === '') {
|
if ($agentId === '' || $secret === '' || $time === '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user