We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f77db commit 876b8aaCopy full SHA for 876b8aa
server/api/v1/system/sys_authority_btn.go
@@ -22,6 +22,10 @@ type AuthorityBtnApi struct{}
22
func (a *AuthorityBtnApi) GetAuthorityBtn(c *gin.Context) {
23
var req request.SysAuthorityBtnReq
24
err := c.ShouldBindJSON(&req)
25
+ if err != nil {
26
+ response.FailWithMessage(err.Error(), c)
27
+ return
28
+ }
29
res, err := authorityBtnService.GetAuthorityBtn(req)
30
if err != nil {
31
global.GVA_LOG.Error("查询失败!", zap.Error(err))
0 commit comments