【类 型】:test
【主 题】:token的有效期 【描 述】: [原因]:测试是用的20秒 改回'到凌晨' [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
842415a3cc
commit
166bd88d5c
@ -76,7 +76,6 @@ class PublicController extends Controller
|
||||
'iss' => 'jwt_admin', // 签发者
|
||||
'nbf' => $currtime, // 在此时间之前不可用 (这里是2秒以内)
|
||||
'exp' => strtotime('tomorrow'), //过期时间 到第二天凌晨
|
||||
'exp' => $currtime + 20, //过期时间 到第二天凌晨
|
||||
'openid' => $openid,
|
||||
'session_key' => $session_key,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user