mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-03 23:56:37 +08:00
数据库迁移
This commit is contained in:
@@ -68,6 +68,11 @@ namespace Yi.Framework.ApiMicroservice
|
||||
#endregion
|
||||
services.AddSqliteService();
|
||||
|
||||
#region
|
||||
//MySql服务配置
|
||||
#endregion
|
||||
services.AddMysqlService();
|
||||
|
||||
#region
|
||||
//Redis服务配置
|
||||
#endregion
|
||||
@@ -78,7 +83,7 @@ namespace Yi.Framework.ApiMicroservice
|
||||
#endregion
|
||||
//services.AddRabbitMQService();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
#region Autofac容器注入
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"Url": "Filename=YIDB.db"
|
||||
},
|
||||
"MysqlConn": {
|
||||
"Url": "server=192.168.2.128;port=3306;database=ECDB;user id=root;password=123456"
|
||||
"Url": "server=118.195.191.41;port=3306;database=YIDB;user id=root;password=Qz52013142020."
|
||||
},
|
||||
|
||||
"JWTTokenOptions": {
|
||||
|
||||
Reference in New Issue
Block a user