refactor(logic): 重构逻辑层代码

- 更新导入路径和结构体命名
- 调整函数签名和返回类型
- 移除未使用的代码文件
- 统一错误处理方式
This commit is contained in:
2025-07-26 00:48:57 +08:00
parent cb87fda0d1
commit 82075b0884
13 changed files with 386 additions and 198 deletions

View File

@@ -3,13 +3,13 @@ package controller
import (
"blazing/common/data/entity"
"blazing/logic/service"
"blazing/logic/service/maps"
maps "blazing/logic/service/MapHot"
)
func (h Controller) MapHot(data *maps.MapHotInboundInfo, c *entity.Player) (result *maps.MapHotOutboundInfo, err service.OutInfo) {
func (h Controller) MapHot(data *maps.MapHotInboundInfo, c *entity.Player) (result *maps.OutInfo, err service.OutInfo) {
data.Def()
result = &maps.MapHotOutboundInfo{
result = &maps.OutInfo{
HotInfos: make([]maps.MapHotInfo, 0),
}