查询当前登录用户排名,
This commit is contained in:
@ -9,7 +9,8 @@ import (
|
||||
)
|
||||
|
||||
func (c *ControllerV1) List(ctx context.Context, req *v1.ListReq) (res *v1.ListRes, err error) {
|
||||
out, err := service.Game().GameList(ctx, &model.GameListIn{})
|
||||
|
||||
out, err := service.Game().GameList(ctx, &model.GameListIn{req.Page, req.Size})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user