|
@@ -8,13 +8,13 @@
|
|
|
},
|
|
|
"dbConfigs": [
|
|
|
{
|
|
|
- "Conn": "Data Source=localhost;port=3306;User ID=sa;Password=sa123456;Database=cim_db;CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
+ "Conn": "Data Source= 39.106.7.239;port=3306;User ID=sa;Password=sa123456;Database=cim_db;CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
"DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
|
|
"ConfigId": "0", //多租户唯一标识
|
|
|
"IsAutoCloseConnection": true
|
|
|
},
|
|
|
{
|
|
|
- "Conn": "Data Source=localhost;port=3306;User ID=sa;Password=sa123456;Database=cim_db;CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
+ "Conn": "Data Source= 39.106.7.239;port=3306;User ID=sa;Password=sa123456;Database=cim_db;CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
"DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
|
|
"ConfigId": "1", //商城数据库
|
|
|
"IsAutoCloseConnection": true
|
|
@@ -24,8 +24,8 @@
|
|
|
//代码生成数据库配置
|
|
|
"CodeGenDbConfig": {
|
|
|
//代码生成连接字符串,注意{dbName}为固定格式,不要填写数据库名
|
|
|
- "Conn": "Data Source=localhost;port=3306;User ID=sa;Password=sa23456;Database={dbName};CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
- "DbType": 1,
|
|
|
+ "Conn": "Data Source= 39.106.7.239;port=3306;User ID=sa;Password=sa123456;Database={dbName};CharSet=utf8mb4_general_ci;sslmode=none;",
|
|
|
+ "DbType": 0,
|
|
|
"IsAutoCloseConnection": true,
|
|
|
"DbName": "cim_db" //代码生成默认连接数据库,Oracle库是实例的名称
|
|
|
},
|