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过期天数 } }