-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
liuning
committed
Sep 22, 2023
1 parent
54c36e0
commit 2f82927
Showing
4 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.Development.json
This file was deleted.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.Development.temp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"ConnectionStrings": { | ||
"SqlSugarConfig": [ | ||
{ | ||
"ConfigId": "MinecosmosBot", //租户ID | ||
"ConnectionString": "server=xxxxx;Port=6607;Database=mc_bot;Uid=root;Pwd=a1075858260", //连接字符串 | ||
"DbType": "MySql", //数据库类型 | ||
"IsAutoCloseConnection": true, //是否自动释放 | ||
"IsInitDb": true, //是否初始化数据库,适用于codefirst | ||
"IsSeedData": true, //是否初始化种子数据 | ||
"IsUnderLine": true //是否驼峰转下划线 | ||
} | ||
] | ||
}, | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information" | ||
} | ||
}, | ||
"SecretKey": "Secret key value", | ||
"Kook": { | ||
"Enable": true, | ||
"Token": "xxxx", | ||
"Prefix": "mc", | ||
"CodeChannel": "mc机器人" | ||
}, | ||
"QQ": { | ||
"Enable": false | ||
}, | ||
"RedisConfig": { | ||
"Enable": true, | ||
"ConnectionString": "xxx:xxx,defaultDatabase=3,password=xxxx,prefix=mcbot_" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.agileconfig.temp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"AgileConfig": { | ||
"appId": "minecosmos.bot", | ||
"secret": "secretstr", | ||
"nodes": "https://xxxxxx", //多个节点使用逗号分隔, | ||
"name": "minecosmos.bot", | ||
"tag": "mcosmosbot", | ||
"env": "DEV", | ||
"serviceRegister": { //服务注册信息,如果不配置该节点,则不会启动任何跟服务注册相关的服务 可选 | ||
"serviceId": "minecostmos.bot", //服务id,全局唯一,用来唯一标示某个服务 | ||
"serviceName": "MineCosmos.Core机器人服务" //服务名,可以重复,某个服务多实例部署的时候这个serviceName就可以重复 | ||
//"ip": "127.0.0.1", //服务的ip 可选 | ||
//"port": 5005 //服务的端口 可选 | ||
} | ||
} | ||
} |