This commit is contained in:
aozhiwei 2024-07-17 19:37:17 +08:00
parent 04c848e846
commit b98744b83e

View File

@ -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)
}