正在显示
1 个修改的文件
包含
0 行增加
和
6 行删除
@@ -367,12 +367,6 @@ func (c *SummaryEvaluationController) ExportAllEvaluationSuper() { | @@ -367,12 +367,6 @@ func (c *SummaryEvaluationController) ExportAllEvaluationSuper() { | ||
367 | func (c *SummaryEvaluationController) ListExecutorEvaluationSelf() { | 367 | func (c *SummaryEvaluationController) ListExecutorEvaluationSelf() { |
368 | srv := service.NewSummaryEvaluationService() | 368 | srv := service.NewSummaryEvaluationService() |
369 | param := &command.QueryExecutorEvaluationList{} | 369 | param := &command.QueryExecutorEvaluationList{} |
370 | - err := c.BindJSON(param) | ||
371 | - if err != nil { | ||
372 | - e := application.ThrowError(application.ARG_ERROR, "json 解析错误"+err.Error()) | ||
373 | - c.Response(nil, e) | ||
374 | - return | ||
375 | - } | ||
376 | userReq := middlewares.GetUser(c.Ctx) | 370 | userReq := middlewares.GetUser(c.Ctx) |
377 | param.CompanyId = int(userReq.CompanyId) | 371 | param.CompanyId = int(userReq.CompanyId) |
378 | param.ExecutorId = int(userReq.UserId) | 372 | param.ExecutorId = int(userReq.UserId) |
-
请 注册 或 登录 后发表评论