系统认证接口

This commit is contained in:
2026-03-03 09:45:46 +08:00
parent 30f3e211af
commit f16feca4f4
4 changed files with 262 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
return [
// 共享密钥(双方约定同一个字符串)
'shared_secret' => env('SYSTEM_AUTH_SHARED_SECRET', 'your-shared-secret-string'),
// 签名有效期(秒),默认10分钟
'signature_expire' => 600,
// Token 有效期(秒)
'token_expire' => 86400,
];