From bcb0cb3dc3e3e7e7c18fa3d0670680fe022766b9 Mon Sep 17 00:00:00 2001 From: shanye <3529532698@qq.com> Date: Tue, 30 Sep 2025 13:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=8C=E6=8F=90=E7=A4=BA?= =?UTF-8?q?SqlSugar.SqlSugarException:=20SSL=E5=87=BA=E9=94=99=EF=BC=8C?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0Encrypt=3DTrue;TrustServerC?= =?UTF-8?q?ertificate=3DTrue;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Admin.WebApi/appsettings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZR.Admin.WebApi/appsettings.json b/ZR.Admin.WebApi/appsettings.json index bdfb969c..75ec6d79 100644 --- a/ZR.Admin.WebApi/appsettings.json +++ b/ZR.Admin.WebApi/appsettings.json @@ -24,7 +24,7 @@ //代码生成数据库配置 "CodeGenDbConfig": { //代码生成连接字符串,注意{dbName}为固定格式,不要填写数据库名 - "Conn": "Data Source=LAPTOP-STKF2M8H\\SQLEXPRESS;User ID=admin;Password=admin123;Initial Catalog={dbName};", + "Conn": "Data Source=LAPTOP-STKF2M8H\\SQLEXPRESS;User ID=admin;Password=admin123;Initial Catalog={dbName};Encrypt=True;TrustServerCertificate=True;", "DbType": 1, "IsAutoCloseConnection": true, "DbName": "ZrAdmin" //代码生成默认连接数据库,Oracle库是实例的名称 -- Gitee