diff --git a/server/marketserver/api/v1/ingame/ingame.go b/server/marketserver/api/v1/ingame/ingame.go index 4acced19..8fdaeb94 100644 --- a/server/marketserver/api/v1/ingame/ingame.go +++ b/server/marketserver/api/v1/ingame/ingame.go @@ -56,7 +56,7 @@ func (this *InGameApi) HeroList(c *gin.Context) { heroList, q5.SafeToInt32(reqJson.PageSize), q5.SafeToInt64(reqJson.Cursor), - func (row interface{}) bool { + func (kv interface{}) bool { return true }, func (a interface{}, b interface{}) bool { @@ -65,8 +65,8 @@ func (this *InGameApi) HeroList(c *gin.Context) { func (p *f5.StreamPagination) { rspObj.Page.FillPage(p) }, - func (row interface{}) { - q5.AppendSlice(&rspObj.Rows, row) + func (kv interface{}) { + q5.AppendSlice(&rspObj.Rows, kv) }) c.JSON(200, rspObj) }