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)
 }