zhangqian
2024-06-14 ee65c91e075f1d95f620c2963ef1f5f55e4e1088
history report add params verified
1个文件已删除
1个文件已修改
11 ■■■■ 已修改文件
controllers/report_forms_controller.go 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/month_stats.go 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
controllers/report_forms_controller.go
@@ -219,6 +219,12 @@
        util.ResponseFormat(c, code.RequestParamError, "参数解析失败,数据类型错误")
        return
    }
    if params.BaseOperationType == 0 {
        util.ResponseFormat(c, code.RequestParamError, "基础操作类型不能为空")
        return
    }
    historyFormsService := service.NewHistoryFormsService()
    list, err := historyFormsService.FetchAll(params)
    if err != nil {
service/month_stats.go
File was deleted