This is an automated email from the ASF dual-hosted git repository.
kumfo pushed a commit to branch feat/1.3.1/review
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/feat/1.3.1/review by this push:
new 7ed395ba feat(review): base review
7ed395ba is described below
commit 7ed395badd6963852ab67328e48dde9e6b367064
Author: kumfo <[email protected]>
AuthorDate: Wed Mar 27 17:46:26 2024 +0800
feat(review): base review
---
plugin/reviewer.go | 4 ++++
1 file changed, 4 insertions(+)
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 {