作者 唐旭辉

修改

... ... @@ -36,6 +36,9 @@ func (c *AuditController) AuditList() {
if err == nil && len(param.CreateTimeEndS) > 0 {
param.CreateTimeEnd = endTime.Unix() + 864399
}
param.EnableStatus, _ = strconv.Atoi(param.EnableStatusS)
param.ReviewStatus, _ = strconv.Atoi(param.ReviewStatusS)
param.PublishStatus, _ = strconv.Atoi(param.PublishStatusS)
uid := c.GetUserId()
companyId := c.GetCompanyId()
list, err := serveaudit.GetAuditList(param, companyId, uid)
... ...
... ... @@ -232,9 +232,12 @@ type RequestAuditList struct {
RequestPageInfo
ChanceTypeId int `json:"chance_type_id"` //一级分类
TempalteId int `json:"template_id"` // 二级分类
PublishStatus int `json:"publish_status"` //公开状态
ReviewStatus int `json:"review_status"` //
EnableStatus int `json:"enable_status"` //关闭状态
PublishStatusS string `json:"publish_status"` //公开状态码字符串
PublishStatus int `json:"-"` //公开状态
ReviewStatus int `json:"-"` //
ReviewStatusS string `json:"review_status"` //
EnableStatus int `json:"-"` //关闭状态
EnableStatusS string `json:"enable_status"` //关闭状态
DepartmentID int `json:"department_id"` //提交部门
CreateTimeBegin int64 `json:"-"` //
CreateTimeBeginS string `json:"create_time_begin"`
... ...