You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
287 B

package comment_api
import "github.com/TremblingV5/DouTok/kitex_gen/comment"
func CheckCommentActionArgs(req *comment.DouyinCommentActionRequest) bool {
return req.CommentText != ""
}
func CheckCommentListArgs(req *comment.DouyinCommentListRequest) bool {
return req.VideoId >= 0
}