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.
12 lines
287 B
12 lines
287 B
2 months ago
|
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
|
||
|
}
|