Skip to content

Commit 2005408

Browse files
authored
Merge pull request flipped-aurora#1434 from wZuiShuai/main
修复接口返回未 return 问题
2 parents bd6e182 + a9c24df commit 2005408

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/api/v1/system/sys_menu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func (a *AuthorityMenuApi) GetMenu(c *gin.Context) {
2828
if err != nil {
2929
global.GVA_LOG.Error("获取失败!", zap.Error(err))
3030
response.FailWithMessage("获取失败", c)
31+
return
3132
}
3233
if menus == nil {
3334
menus = []system.SysMenu{}

0 commit comments

Comments
 (0)