解决门店任务排行榜bug, 奖励领取新增过期时间
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user