From 04e086b9eae8cc019c5187ec046cb89e98ff0fce Mon Sep 17 00:00:00 2001 From: git_rabbit Date: Wed, 24 Dec 2025 11:16:27 +0800 Subject: [PATCH] 132 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新代码生成数据库配置的用户名为bzfm_mes 将CodeGenDbConfig中的数据库连接字符串用户名由root修改为bzfm_mes,提升安全性,其他连接参数保持不变。 --- DOAN.Admin.WebApi/appsettings.Development.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOAN.Admin.WebApi/appsettings.Development.json b/DOAN.Admin.WebApi/appsettings.Development.json index 08518f3..c35dc03 100644 --- a/DOAN.Admin.WebApi/appsettings.Development.json +++ b/DOAN.Admin.WebApi/appsettings.Development.json @@ -14,7 +14,7 @@ //代码生成数据库配置 "CodeGenDbConfig": { //代码生成连接字符串,注意{dbName}为固定格式,不要填写数据库名 - "Conn": "Data Source=115.190.214.62;User ID=root;Password=rSRGTzccN2ZQtnas;Initial Catalog={dbName};Port=3308", + "Conn": "Data Source=115.190.214.62;User ID=bzfm_mes;Password=rSRGTzccN2ZQtnas;Initial Catalog={dbName};Port=3308", "DbType": 0, "IsAutoCloseConnection": true, "DbName": "bzfm_mes" //代码生成默认连接数据库,Oracle库是实例的名称