From a330bac050bd74b2684716fe0b7080d42170843c Mon Sep 17 00:00:00 2001 From: gzydong <54132008+gzydong@users.noreply.github.com> Date: Tue, 23 Mar 2021 11:43:25 +0800 Subject: [PATCH] Update .env.example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改默认的 jwt 过期时间大小 --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 8ac7bf3..a98fb16 100644 --- a/.env.example +++ b/.env.example @@ -23,7 +23,7 @@ REDIS_DB=0 # 务必改为你自己的字符串 JWT_SECRET=hyperf #token过期时间,单位为秒 -JWT_TTL=60 +JWT_TTL=86400 # ---- 项目配置 ---- WEB_URL=http://im.gzydong.club