Skip to content

Commit

Permalink
Merge pull request #4 from weiwiegeng/main
Browse files Browse the repository at this point in the history
fix():去除GetInfoByMenuIds  return
  • Loading branch information
xinjiayu authored Feb 20, 2023
2 parents b359a15 + 7b1130e commit f6a09a3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/logic/system/sys_menu_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func (s *sSysMenuApi) GetInfoByMenuIds(ctx context.Context, menuIds []int) (data
var sysMenuApi []*entity.SysMenuApi
json.Unmarshal([]byte(tmpData.Val().(string)), &sysMenuApi)
data = append(data, sysMenuApi...)
return
}
}
if data == nil || len(data) > 0 {
Expand Down
1 change: 0 additions & 1 deletion internal/logic/system/sys_menu_button.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ func (s *sSysMenuButton) GetInfoByMenuIds(ctx context.Context, menuIds []int) (d
var sysMenuButton []*entity.SysMenuButton
json.Unmarshal([]byte(tmpData.Val().(string)), &sysMenuButton)
data = append(data, sysMenuButton...)
return
}
}
if data == nil || len(data) == 0 {
Expand Down
1 change: 0 additions & 1 deletion internal/logic/system/sys_menu_column.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ func (s *sSysMenuColumn) GetInfoByMenuIds(ctx context.Context, menuIds []int) (d
var sysMenuColumn []*entity.SysMenuColumn
json.Unmarshal([]byte(tmpData.Val().(string)), &sysMenuColumn)
data = append(data, sysMenuColumn...)
return
}
}
if data == nil || len(data) == 0 {
Expand Down

0 comments on commit f6a09a3

Please sign in to comment.