From b80a3aa37ac5bed12dd6c49e9e731d5f375f80d9 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 26 十二月 2024 09:55:01 +0800 Subject: [PATCH] 增加sw文档关闭配置 --- DocumentServiceAPI.Web.Entry/appsettings.json | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json index 5da1f39..49caeb7 100644 --- a/DocumentServiceAPI.Web.Entry/appsettings.json +++ b/DocumentServiceAPI.Web.Entry/appsettings.json @@ -12,7 +12,7 @@ { "ConfigId": "default", //澶氬簱閰嶇疆ID - "ConnectionString": "Server=.;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;", + "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;", "DbType": "SqlServer", "IsAutoCloseConnection": true @@ -21,7 +21,7 @@ { "ConfigId": "zhengcaioa", //澶氬簱閰嶇疆ID - "ConnectionString": "Server=.;Database=zhengcaioa55;User ID=sa;Password=123456;", + "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=zhengcaioa55;User ID=sa;Password=123456;", "DbType": "SqlServer", "IsAutoCloseConnection": true @@ -29,7 +29,7 @@ } ], - "isCodeFirst": false, //鏄惁鎵цcodefirst 娉ㄦ剰杩欎釜鍦ㄨ縼寰欏畬鎴愬悗搴旇璁剧疆涓篺alse 闃叉鏇存敼鏁版嵁搴� + "isCodeFirst": true, //鏄惁鎵цcodefirst 娉ㄦ剰杩欎釜鍦ㄨ縼寰欏畬鎴愬悗搴旇璁剧疆涓篺alse 闃叉鏇存敼鏁版嵁搴� //璇蜂繚鎸乺edis涓烘甯稿彲鐢� "RedisConfig": { // 濡傛灉閲囩敤瀹瑰櫒鍖栭儴缃睸ervice 瑕佸啓鎴恟edis鐨勬湇鍔″悕锛屽惁鍒欏啓鍦板潃 @@ -56,6 +56,10 @@ "ExpiredTime": 1440, // 杩囨湡鏃堕棿锛宭ong 绫诲瀷锛屽崟浣嶅垎閽燂紝榛樿20鍒嗛挓 "ClockSkew": 5, // 杩囨湡鏃堕棿瀹归敊鍊硷紝long 绫诲瀷锛屽崟浣嶇锛岄粯璁� 5绉� "Algorithm": "HS256" // 鍔犲瘑绠楁硶锛宻tring 绫诲瀷锛岄粯璁� HS256 + }, + "AppSettings": { + + "InjectSpecificationDocument": false //鍏抽棴sw鏂囨。 } } \ No newline at end of file -- Gitblit v1.9.1