1
This commit is contained in:
parent
10df8e70b8
commit
d9bcf821fd
@ -1,7 +1,9 @@
|
|||||||
package ingame
|
package ingame
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
|
. "main/global"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -31,6 +33,26 @@ func (this *InGameApi) HeroList(c *gin.Context) {
|
|||||||
f5.RspErr(c, 401, "params parse error")
|
f5.RspErr(c, 401, "params parse error")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
err, heroList := GetCacheMgr().GetIngameHero("")
|
||||||
|
if err != nil {
|
||||||
|
f5.RspErr(c, 500, "server internal error")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
f5.DataSetStreamPageQuery(
|
||||||
|
heroList,
|
||||||
|
q5.SafeToInt32(reqJson.PageSize),
|
||||||
|
q5.SafeToInt64(reqJson.Cursor),
|
||||||
|
func (row interface{}) bool {
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
func (a interface{}, b interface{}) bool {
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
func (p *f5.StreamPagination) {
|
||||||
|
},
|
||||||
|
func (row interface{}) {
|
||||||
|
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *InGameApi) HeroMint(c *gin.Context) {
|
func (this *InGameApi) HeroMint(c *gin.Context) {
|
||||||
|
2
third_party/f5
vendored
2
third_party/f5
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 5610bc1f758e6b7b7738e4ac4ee492206b26b3e3
|
Subproject commit a55bc814287f711be731be3a27badd50fd6bfb35
|
Loading…
x
Reference in New Issue
Block a user