Skip to content

Commit

Permalink
Merge pull request #1434 from wZuiShuai/main
Browse files Browse the repository at this point in the history
修复接口返回未 return 问题
  • Loading branch information
SliverHorn committed May 18, 2023
2 parents 80eff97 + 0ed922b commit 8667ce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/v1/system/sys_menu.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func (a *AuthorityMenuApi) GetMenu(c *gin.Context) {
if err != nil {
global.GVA_LOG.Error("获取失败!", zap.Error(err))
response.FailWithMessage("获取失败", c)
return
}
if menus == nil {
menus = []system.SysMenu{}
Expand Down

0 comments on commit 8667ce5

Please sign in to comment.