diff --git a/app/admin/apis/sys_dept.go b/app/admin/apis/sys_dept.go index f37eae4b..8f1663fe 100644 --- a/app/admin/apis/sys_dept.go +++ b/app/admin/apis/sys_dept.go @@ -187,7 +187,7 @@ func (e SysDept) Get2Tree(c *gin.Context) { req := dto.SysDeptGetPageReq{} err := e.MakeContext(c). MakeOrm(). - Bind(&req,binding.Form). + Bind(&req, binding.Form). MakeService(&s.Service). Errors if err != nil { @@ -235,4 +235,4 @@ func (e SysDept) GetDeptTreeRoleSelect(c *gin.Context) { "depts": result, "checkedKeys": menuIds, }, "") -} \ No newline at end of file +}