1 Star 8 Fork 3

云香水识/group_chat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.demo.json 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
shiyangyang 提交于 2023-04-11 16:23 . feat: rEADME 修改
{
"port": 38577,
"publicPath": "/chatroom",
"cacheRoot": ".cache",
"maxUploadSize": 204800,
"server": {
"base": "http://somehost:8080",
"logout": "/logout",
"admin": "/admin",
"check": {
"method": "GET",
"url": "/user/loginuser",
"headers_key": "cookie",
"mapping": {
"username": "data.loginUser.username",
"name": "data.loginUser.name"
},
"login": "http://somehost:8080/login"
},
"users": {
"method": "POST",
"url": "/users",
"headers": {
"Content-Type": "application/json"
},
"body": "{\"pageSize\":99999}",
"mapping": {
"users": "data.list",
"user.username": "username",
"user.name": "name",
"user.group": "desc",
"user.avatar": "avatar"
}
}
},
"mongodb": {
"uri": "mongodb://somehost:27017",
"dbName": "chatroom"
},
"client": {
"listenType": "loop",
"loopTimeout": 2000,
"headers": {
"httpMethod": "${method}",
"timestamp": "${timestamp}",
"uuid": "${uuid}",
"appDevice": "{}",
"appVersion": "1.0",
"token": "",
"userId": ""
}
},
"plugins": [
{
"type": "link",
"regexp": "(https?://[a-zA-Z0-9.:]+[^ ,;]+)",
"matches": ["body", "href"]
}
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shy9120/group_chat.git
[email protected]:shy9120/group_chat.git
shy9120
group_chat
group_chat
master

搜索帮助