Roc 3 năm trước cách đây
mục cha
commit
e10c56e38e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 }