1
This commit is contained in:
parent
04c848e846
commit
b98744b83e
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user