xiexiaoyuan 2 năm trước cách đây
mục cha
commit
0a16af97d3
1 tập tin đã thay đổi với 0 bổ sung8 xóa
  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)