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(¶ms)
|
//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
|
//}
|
|
}
|