Explorar el Código

Merge branch 'yb/4.0' into debug

xiexiaoyuan hace 3 años
padre
commit
c28503ccbd
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      controller/comment/comment.go

+ 0 - 8
controller/comment/comment.go

@@ -140,10 +140,6 @@ func MyList(c *gin.Context)  {
 			response.Fail("章节ID格式有误", c)
 			return
 		}
-		if reportId <= 0 {
-			response.Fail("请输入报告ID", c)
-			return
-		}
 	}
 
 	if reqOldReportId != ""{
@@ -160,10 +156,6 @@ func MyList(c *gin.Context)  {
 			response.Fail("章节ID格式有误", c)
 			return
 		}
-		if oldReportId <= 0 {
-			response.Fail("请输入报告ID", c)
-			return
-		}
 	}
 
 	userinfo := userService.GetInfoByClaims(c)