fix: add missing return after sending response

This commit is contained in:
JustSong
2022-11-22 13:03:15 +08:00
parent 391a1c09af
commit b616fc8d84

View File

@@ -19,6 +19,7 @@ func authHelper(c *gin.Context, minRole int) {
"message": "无权进行此操作,未登录",
})
c.Abort()
return
}
if status.(int) == common.UserStatusDisabled {
c.JSON(http.StatusOK, gin.H{