format🥚 代码格式化
This commit is contained in:
1 parent
a7cc943b8e
commit
a54d4ba0c1
96 files changed
+143
-151
No files matched your search
@@ -37,7 +37,7 @@ func (e SysApi) GetSysApiList(c *gin.Context) {
|
||||
d := new(dto.SysApiSearch)
|
||||
err := e.MakeContext(c).
|
||||
MakeOrm().
|
||||
Bind(d,binding.Form).
|
||||
Bind(d, binding.Form).
|
||||
MakeService(&s.Service).
|
||||
Errors
|
||||
if err != nil {
|
||||
@@ -71,7 +71,7 @@ func (e SysApi) GetSysApi(c *gin.Context) {
|
||||
s := new(service.SysApi)
|
||||
err := e.MakeContext(c).
|
||||
MakeOrm().
|
||||
Bind(control,nil).
|
||||
Bind(control, nil).
|
||||
MakeService(&s.Service).
|
||||
Errors
|
||||
if err != nil {
|
||||
@@ -166,4 +166,4 @@ func (e SysApi) DeleteSysApi(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(control.GetId(), "删除成功")
|
||||
}
|
||||
}
|
||||
@@ -291,4 +291,4 @@ func (e SysConfig) GetSysConfigByKEYForService(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(control, s.Msg)
|
||||
}
|
||||
}
|
||||
@@ -247,4 +247,4 @@ func (e SysDept) GetDeptTreeRoleSelect(c *gin.Context) {
|
||||
"depts": result,
|
||||
"checkedKeys": menuIds,
|
||||
}, "")
|
||||
}
|
||||
}
|
||||
@@ -212,7 +212,7 @@ func (e SysDictData) GetSysDictDataAll(c *gin.Context) {
|
||||
d := &dto.SysDictDataSearch{}
|
||||
err := e.MakeContext(c).
|
||||
MakeOrm().
|
||||
Bind(d,binding.Form).
|
||||
Bind(d, binding.Form).
|
||||
MakeService(&s.Service).
|
||||
Errors
|
||||
if err != nil {
|
||||
|
||||
@@ -222,4 +222,4 @@ func (e SysDictType) GetSysDictTypeAll(c *gin.Context) {
|
||||
}
|
||||
|
||||
e.OK(list, "查询成功")
|
||||
}
|
||||
}
|
||||
@@ -90,4 +90,4 @@ func (e SysLoginLog) DeleteSysLoginLog(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(control.GetId(), "删除成功")
|
||||
}
|
||||
}
|
||||
@@ -292,4 +292,4 @@ func (e SysMenu) GetMenuTreeSelect(c *gin.Context) {
|
||||
"menus": result,
|
||||
"checkedKeys": menuIds,
|
||||
}, "获取成功")
|
||||
}
|
||||
}
|
||||
@@ -89,4 +89,4 @@ func (e SysOperaLog) DeleteSysOperaLog(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(req.GetId(), "删除成功")
|
||||
}
|
||||
}
|
||||
@@ -188,4 +188,4 @@ func (e SysPost) DeleteSysPost(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(req.GetId(), "删除成功")
|
||||
}
|
||||
}
|
||||
@@ -555,4 +555,4 @@ func (e Gen) GenMenuAndApi(c *gin.Context) {
|
||||
//ADelete.Id, err = ADelete.Create(db)
|
||||
|
||||
e.OK("", "数据生成成功!")
|
||||
}
|
||||
}
|
||||
@@ -348,4 +348,4 @@ func (e *SysTable) DeleteSysTables(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
e.OK(nil, "删除成功")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user