From f8fbf1db4df0d59c3387980cd46811de6359131b Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期一, 21 八月 2023 14:57:04 +0800 Subject: [PATCH] 修改登录授权方式,增加zctoken登录方案,增加分布式消息队列 --- DocumentServiceAPI.Web.Entry/appsettings.json | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json index 550e6de..396bcc1 100644 --- a/DocumentServiceAPI.Web.Entry/appsettings.json +++ b/DocumentServiceAPI.Web.Entry/appsettings.json @@ -12,7 +12,8 @@ { "ConfigId": "default", //澶氬簱閰嶇疆ID - "ConnectionString": "Server=.;Database=doc_new;User ID=sa;Password=123456;", + //"ConnectionString": "Server=.;Database=doc_new;User ID=sa;Password=123456;", + "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;", "DbType": "SqlServer", "IsAutoCloseConnection": true @@ -28,7 +29,12 @@ }, + //娑堟伅闃熷垪閰嶇疆 涓轰簡鐙珛閮ㄧ讲锛岃繖閲屽崟鐙厤缃� + "InitQRedisConfig": { + // 濡傛灉閲囩敤瀹瑰櫒鍖栭儴缃睸ervice 瑕佸啓鎴恟edis鐨勬湇鍔″悕锛屽惁鍒欏啓鍦板潃 + "ConnectionString": "127.0.0.1:6379,password=,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=10" //redis鏁版嵁搴撹繛鎺ュ瓧绗︿覆 + }, "JWTSettings": { -- Gitblit v1.9.1