From 4e68d9968284f0739b549c3da6b0966342061a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=8E=89=E5=AE=9D?= Date: Mon, 6 Jul 2026 13:16:01 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix:=20#IJX34Q=20=E9=9D=9EIdentity?= =?UTF-8?q?=E7=9A=84token=E6=94=AF=E6=8C=81jwt=20token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李玉宝 --- OpenAuth.WebApi/appsettings.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenAuth.WebApi/appsettings.json b/OpenAuth.WebApi/appsettings.json index 68ed917d..8512eb52 100644 --- a/OpenAuth.WebApi/appsettings.json +++ b/OpenAuth.WebApi/appsettings.json @@ -24,6 +24,8 @@ }, "UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录 "RedisConf": "redistest.cq-p.com.cn:8001,password=share_redis@123", //redis配置 - "HttpHost": "http://*:52789" //启动绑定地址及端口 + "HttpHost": "http://*:52789", //启动绑定地址及端口 + "JwtSecret": "openauth_jwt_secret_key_please_change_in_production", //JWT签名密钥,生产环境请修改 + "JwtExpireDays": 10 //JWT Token过期天数 } }