24 lines
1.2 KiB
JSON
24 lines
1.2 KiB
JSON
{
|
|
"dbConfigs": [
|
|
{
|
|
//"Conn": "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog=ay2509055-guiyang-fluorescence-lmes;Port=3308;",
|
|
"Conn": "Data Source=47.101.40.214;User ID=root;Password=Rizo123456@;Initial Catalog=ay2509055-guiyang-fluorescence-lmes;Port=3306;",
|
|
//"Conn": "Data Source=127.0.0.1;User ID=root;Password=123456;Initial Catalog=ay2509055-guiyang-fluorescence-lmes;Port=3306;",
|
|
"ConfigId": "0", //多租户唯一标识
|
|
"IsAutoCloseConnection": true
|
|
}
|
|
//...下面添加更多的数据库源
|
|
],
|
|
//代码生成数据库配置
|
|
"CodeGenDbConfig": {
|
|
//代码生成连接字符串,注意{dbName}为固定格式,不要填写数据库名
|
|
//"Conn": "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog={dbName};Port=3308;",
|
|
"Conn": "Data Source=47.101.40.214;User ID=root;Password=Rizo123456@;Initial Catalog={dbName};Port=3306;",
|
|
//"Conn": "Data Source=127.0.0.1;User ID=root;Password=123456;Initial Catalog={dbName};Port=3306;",
|
|
"DbType": 0,
|
|
"IsAutoCloseConnection": true,
|
|
"DbName": "ay2509055-guiyang-fluorescence-lmes" //代码生成默认连接数据库,Oracle库是实例的名称
|
|
}
|
|
|
|
}
|