controllers/work_type_manage_controller.go
@@ -69,7 +69,7 @@ util.ResponseFormat(c, code.RequestParamError, "参数解析失败,数据类型错误") return } find, total, err := models.NewWorkTypeManageSearch().SetPage(params.Page, params.PageSize).Find() find, total, err := models.NewWorkTypeManageSearch().SetPreload(true).SetPage(params.Page, params.PageSize).Find() if err != nil { util.ResponseFormat(c, code.RequestParamError, "查找失败") return