liujiandao
2024-04-30 76a84d89d63041232c646ca28c59239dd00f7fc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package controllers
 
import (
    "github.com/gin-gonic/gin"
)
 
type ReportFormsController struct {
}
 
// SalaryReportForms
//
//    @Tags        报表管理
//    @Summary    薪资报表
//    @Produce    application/json
//    @Param        object    body        request.SalaryReportForms    true    "参数"
//    @Param         Authorization    header string true "token"
//    @Success    200        {object}    util.ResponseList{data=[]models.WorkTypeManage}        "成功"
//    @Router        /api-jl/v1/forms/salaryReportForms [post]
func (slf ReportFormsController) SalaryReportForms(c *gin.Context) {
    //var params request.SalaryReportForms
    //err := c.BindJSON(&params)
    //if err != nil {
    //    util.ResponseFormat(c, code.RequestParamError, "参数解析失败,数据类型错误")
    //    return
    //}
    //workers, err := models.NewWorkerSearch().SetPage(params.Page, params.PageSize).FindNotTotal()
    //if err != nil {
    //    util.ResponseFormat(c, code.RequestParamError, err)
    //    return
    //}
 
}