refactor: 重构入参类型引用
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"blazing/modules/config/service"
|
||||
)
|
||||
|
||||
func (h Controller) GetTalkCount(data *item.TalkCountInboundInfo, c *player.Player) (result *item.TalkCountOutboundInfo, err errorcode.ErrorCode) {
|
||||
func (h Controller) GetTalkCount(data *TalkCountInboundInfo, c *player.Player) (result *item.TalkCountOutboundInfo, err errorcode.ErrorCode) {
|
||||
result = &item.TalkCountOutboundInfo{}
|
||||
talkCount, ok := c.Service.Talk.Cheak(c.Info.MapID, int(data.ID))
|
||||
if !ok {
|
||||
@@ -20,7 +20,7 @@ func (h Controller) GetTalkCount(data *item.TalkCountInboundInfo, c *player.Play
|
||||
|
||||
//var talkcacche = make(map[string]uint32)
|
||||
|
||||
func (h Controller) GetTalkCategory(data *item.TalkCateInboundInfo, c *player.Player) (result *item.DayTalkInfo, err errorcode.ErrorCode) {
|
||||
func (h Controller) GetTalkCategory(data *TalkCateInboundInfo, c *player.Player) (result *item.DayTalkInfo, err errorcode.ErrorCode) {
|
||||
result = &item.DayTalkInfo{}
|
||||
result.OutList = make([]item.CateInfo, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user