|
@@ -7,11 +7,11 @@
|
|
|
}
|
|
|
},
|
|
|
"ConnectionStrings": {
|
|
|
- //"conn_db": "Data Source=localhost;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
- "conn_db": "Data Source=39.106.7.239;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
+ "conn_db": "Data Source=localhost;port=3306;User ID=sa;Password=sa123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
+ //"conn_db": "Data Source=39.106.7.239;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
"conn_db_type": "0" //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3
|
|
|
},
|
|
|
- "urls": "http://localhost:8888", //项目启动url,如果改动端口前端对应devServer也需要进行修改
|
|
|
+ "urls": "http://localhost:8888;http://192.168.137.1:8888", //项目启动url,如果改动端口前端对应devServer也需要进行修改
|
|
|
"corsUrls": "http://localhost:8887", //跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
|
|
|
"JwtSettings": {
|
|
|
"Issuer": "ZRAdmin.NET",
|
|
@@ -19,7 +19,7 @@
|
|
|
"SecretKey": "SecretKey-ZRADMIN.NET-20210101",
|
|
|
"Expire": 1440 //jwt登录过期时间(分)
|
|
|
},
|
|
|
- "InitDb": false,//是否初始化db
|
|
|
+ "InitDb": false, //是否初始化db
|
|
|
"DemoMode": false, //是否演示模式
|
|
|
"Upload": {
|
|
|
"uploadUrl": "http://localhost:8888", //本地存储资源访问路径
|
|
@@ -44,8 +44,8 @@
|
|
|
"SendUser": "@all"
|
|
|
},
|
|
|
"gen": {
|
|
|
- //"conn": "Data Source=localhost;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
- "conn": "Data Source=39.106.7.239;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
+ "conn": "Data Source=localhost;port=3306;User ID=sa;Password=sa123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
+ //"conn": "Data Source=39.106.7.239;port=3306;User ID=sa;Password=123456;Database=mytest_db;CharSet=utf8;sslmode=none;",
|
|
|
"dbType": 0, //MySql = 0, SqlServer = 1
|
|
|
"autoPre": true, //自动去除表前缀
|
|
|
"author": "admin",
|
|
@@ -103,6 +103,6 @@
|
|
|
},
|
|
|
//验证码配置
|
|
|
"CaptchaOptions": {
|
|
|
- "length": 4//验证码长度
|
|
|
+ "length": 4 //验证码长度
|
|
|
}
|
|
|
}
|