查询当前登录用户排名,
This commit is contained in:
@ -10,11 +10,14 @@ import (
|
||||
|
||||
func (c *ControllerV1) Ranking(ctx context.Context, req *v1.RankingReq) (res *v1.RankingRes, err error) {
|
||||
|
||||
//operatorId := g.RequestFromCtx(ctx).GetCtxVar("id").Int()
|
||||
operatorId := 4
|
||||
out, err := service.Task().UserTaskRankingList(ctx, &model.UserTaskRankingIn{
|
||||
Page: req.Page,
|
||||
Size: req.Size,
|
||||
StoreId: req.StoreId,
|
||||
Type: req.Type,
|
||||
Page: req.Page,
|
||||
Size: req.Size,
|
||||
StoreId: req.StoreId,
|
||||
Type: req.Type,
|
||||
OperatorId: operatorId,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user