Roc преди 3 години
родител
ревизия
e10c56e38e
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      controller/report/research_report.go

+ 1 - 0
controller/report/research_report.go

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