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