未验证 提交 2005408b 编写于 作者: Sliver_Horn's avatar Sliver_Horn 提交者: GitHub

Merge pull request #1434 from wZuiShuai/main

修复接口返回未 return 问题
......@@ -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{}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册