From c5cae80b64b4c56601835f4d40e204a462563094 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期二, 29 八月 2023 16:56:38 +0800 Subject: [PATCH] 修正登录逻辑 取消租户登录选项,修正消息租户会自动创建一个员工账号,一企业账号 --- DocumentServiceAPI.Application/applicationsettings.json | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json index 9ba3089..188c419 100644 --- a/DocumentServiceAPI.Application/applicationsettings.json +++ b/DocumentServiceAPI.Application/applicationsettings.json @@ -46,12 +46,25 @@ "KeepVerb": true,//淇濇寔鐗堟湰鍙蜂竴鑷� "LowercaseRoute": false }, - + "CorsAccessorSettings": { "WithExposedHeaders": [ "access-token", "x-access-token", "environment" ] + }, + "ZCUserInfoJwtOP": { //zc鐢ㄦ埛涓績jwt閰嶇疆 鐢ㄤ簬瑙f瀽zc鐨則oken + + "Issuer": "http://localhost", + "Audience": "http://localhost", + "Expires": 10800, + "weixinExpires": 1296000, + "SecurityKey": "superSecretKey@345", + "RefreshTokenExpires": 86400, + "LoginPath": "/_Framework/Redirect401" + } + + } \ No newline at end of file -- Gitblit v1.9.1