"refactor(controller): 重构MapHot方法参数和返回类型,统一使用MapHot包别名"
This commit is contained in:
@@ -3,10 +3,11 @@ package controller
|
||||
import (
|
||||
"blazing/common/data/entity"
|
||||
"blazing/logic/service"
|
||||
"blazing/logic/service/MapHot"
|
||||
maps "blazing/logic/service/MapHot"
|
||||
)
|
||||
|
||||
func (h Controller) MapHot(data *maps.MapHotInboundInfo, c *entity.Player) (result *maps.OutInfo, err service.OutInfo) {
|
||||
func (h Controller) MapHot(data *MapHot.InInfo, c *entity.Player) (result *MapHot.OutInfo, err service.OutInfo) {
|
||||
|
||||
data.Def()
|
||||
result = &maps.OutInfo{
|
||||
|
||||
Reference in New Issue
Block a user