Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc25638

Browse files
committed
去掉调试语句
1 parent 85cdb58 commit cc25638

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/logic/comment.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,8 @@ func (CommentLogic) Count(ctx context.Context, querystring string, args ...inter
444444

445445
func (CommentLogic) filterDelObjectCmt(comments []*model.Comment) []*model.Comment {
446446
resultCmts := make([]*model.Comment, 0, len(comments))
447-
fmt.Println("comments len:", len(comments))
448447
for _, comment := range comments {
449448
if comment.Objinfo != nil && len(comment.Objinfo) > 0 {
450-
fmt.Println("result len:", len(resultCmts))
451449
resultCmts = append(resultCmts, comment)
452450
}
453451
}

0 commit comments

Comments
 (0)