查询当前登录用户排名,

This commit is contained in:
chy
2025-06-10 09:50:23 +08:00
parent 2819b9e9c2
commit 81c2769b92
22 changed files with 505 additions and 33 deletions

View File

@ -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 {