feat(rpc): 优化 RPC 客户端地址配置逻辑

- 将 RPC 地址从硬编码改为通过 service 动态获取
- 修改端口常量名称 rpcaddr 为 rpcport,提升语义清晰度
- 调整客户端连接逻辑以支持动态 IP 和端口拼接

fix(fight): 修复技能命中与闪避逻辑执行顺序

- 调整战斗中技能攻击流程,确保命中率和闪避计算正确应用
- 更新 effect 接口定义,增强技能使用前后的控制节点
- 增加伤害计算过程中的多阶段触发机制(加法、乘法、减法等)

feat(config): 更新数据库及 Redis 配置信息

- 修改 PostgreSQL 用户名、密码和数据库名
- 更新 Redis 访问密码
- 调整服务器 IP 获取方式,区分测试环境与生产环境

chore(vscode): 优化调试配置 console 输出设置

- 在 launch.json 中为调试配置增加 integratedTerminal 控制台选项
- 统一逻辑服务启动参数格式

chore(gitignore): 忽略特定平台编译产物

- 添加针对 Linux 平台的 logic 和 login 模块编译文件忽略规则
```
This commit is contained in:
2025-09-28 01:58:42 +08:00
parent d7712ef70f
commit 6eb244b73f
20 changed files with 3406 additions and 1682 deletions

View File

@@ -1,19 +1,38 @@
[
{
"id": 10001,
"createTime": "2021-02-24 21:16:41.525157",
"updateTime": "2021-02-27 18:21:16.000000",
"departmentId": "1",
"name": "超级管理员",
"createTime": "2025-07-05 11:18:43.064150 +00:00",
"updateTime": "2025-07-05 11:18:43.064150 +00:00",
"deleted_at": null,
"departmentId": 1,
"username": "admin",
"password": "e10adc3949ba59abbe56e057f20f883e",
"passwordV": 3,
"nickName": "管理员",
"headImg": "",
"headImg": " ",
"phone": "18000000000",
"email": "123456@123.com",
"status": 1,
"remark": "拥有最高权限的用户",
"socketId": null
"socketId": null,
"isNew": false
},
{
"id": 10002,
"createTime": "2025-08-15 16:21:02.000000 +00:00",
"updateTime": "2025-08-23 08:09:49.258343 +00:00",
"deleted_at": null,
"departmentId": 1,
"username": "test",
"password": "e10adc3949ba59abbe56e057f20f883e",
"passwordV": 1,
"nickName": "test",
"headImg": null,
"phone": null,
"email": null,
"status": 1,
"remark": null,
"socketId": null,
"isNew": false
}
]