Roc 3 năm trước cách đây
mục cha
commit
e10c56e38e

+ 1 - 0
controller/report/research_report.go

@@ -40,6 +40,7 @@ func GetResearchReportInfo(c *gin.Context) {
 	}
 	}
 	if !hasPermission {
 	if !hasPermission {
 		response.Fail("无权限", c)
 		response.Fail("无权限", c)
+		return
 	}
 	}
 	response.OkData("获取成功", reportInfo, c)
 	response.OkData("获取成功", reportInfo, c)
 }
 }