切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
1794149f29be364f53629f8bd636d5b8e1506881
1 个父辈
61296df7
调试调整
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
pkg/application/summary_evaluation/command/query_cycle_list.go
pkg/port/beego/controllers/summary_evaluation_controller.go
pkg/application/summary_evaluation/command/query_cycle_list.go
查看文件 @
1794149
...
...
@@ -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"`
...
...
pkg/port/beego/controllers/summary_evaluation_controller.go
查看文件 @
1794149
...
...
@@ -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
)
}
...
...
请
注册
或
登录
后发表评论