From 83e0531f43794b38af0508e2e506c45c7f103c86 Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Sun, 8 Sep 2024 22:04:08 +0800 Subject: [PATCH] =?UTF-8?q?perf=F0=9F=91=8C:=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/apis/sys_dept.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}