Skip to content

Commit

Permalink
添加玩家列表
Browse files Browse the repository at this point in the history
  • Loading branch information
liuning committed Sep 22, 2023
1 parent 54c36e0 commit 2f82927
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,8 @@ Sql/
/MineCosmos.Bot/appsettings.Development.json
/MineCosmos.Bot/appsettings.agileconfig.json
/MineCosmos.Bot/appsettings.Development.json
/MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.Development.json
/MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.agileconfig.json
/MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.Development.json
/MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.agileconfig.json
/MineCosmos.Bot.BlazorApp/MineCosmos.Bot.BlazorApp.Server/appsettings.Development.json

This file was deleted.

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_"
}
}
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 //服务的端口 可选
}
}
}

0 comments on commit 2f82927

Please sign in to comment.