Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat(review): base review

kumfo7ed395badd69
diff --git a/plugin/reviewer.go b/plugin/reviewer.go
index ac193af3..488c6f9b 100644
--- a/plugin/reviewer.go
+++ b/plugin/reviewer.go
@@ -39,6 +39,10 @@ type ReviewContent struct {
// Review Language, the site language. e.g. en_US
// The plugin may reply the review result according to the language
Language string
+ // The user agent of the request web browser
+ UserAgent string
+ // The IP address of the request
+ IP string
}
type ReviewContentAuthor struct {