解决门店任务排行榜bug, 奖励领取新增过期时间

This commit is contained in:
chy
2025-07-08 20:59:09 +08:00
parent 0847d930c1
commit c1056552da
2 changed files with 21 additions and 4 deletions

View File

@ -2,6 +2,7 @@ package task
import (
"context"
"github.com/gogf/gf/v2/frame/g"
"server/internal/model"
"server/internal/service"
@ -10,8 +11,8 @@ 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
operatorId := g.RequestFromCtx(ctx).GetCtxVar("id").Int()
//operatorId := 4
out, err := service.Task().UserTaskRankingList(ctx, &model.UserTaskRankingIn{
Page: req.Page,
Size: req.Size,