作者 tangxvhui

调试调整

... ... @@ -2,7 +2,7 @@ package command
// 获取周期列表
type QueryCycleList struct {
UserId int `json:"userId"`
UserId int `json:"userId,string"`
Types int `json:"types"`
PageSize int `json:"pageSize"`
PageNumber int `json:"pageNumber"`
... ...
... ... @@ -90,8 +90,8 @@ func (c *SummaryEvaluationController) GetTargetUserCycleList() {
c.Response(nil, e)
return
}
userReq := middlewares.GetUser(c.Ctx)
paramReq.UserId = int(userReq.UserId)
// userReq := middlewares.GetUser(c.Ctx)
// paramReq.UserId = int(userReq.UserId)
data, err := srv.GetTargetUserCycleList(paramReq)
c.Response(data, err)
}
... ...