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(seo): seo update

LinkinStarc09d861b5dde
diff --cc internal/base/constant/constant.go
index 52ae9062,40d7440e..270354a0
--- a/internal/base/constant/constant.go
+++ b/internal/base/constant/constant.go
@@@ -60,5 -60,12 +62,13 @@@ const
SiteTypeWrite = "write"
SiteTypeLegal = "legal"
SiteTypeSeo = "seo"
+ SiteTypeLogin = "login"
)
+
+ func ExistInPathIgnore(name string) bool {
+ _, ok := PathIgnoreMap[name]
+ if ok {
+ return true
+ }
+ return false
+ }
diff --cc internal/base/reason/reason.go
index 5f30a4c6,f6b0c877..915098e0
--- a/internal/base/reason/reason.go
+++ b/internal/base/reason/reason.go
@@@ -58,5 -58,5 +58,6 @@@ const
RevisionReviewUnderway = "error.revision.review_underway"
RevisionNoPermission = "error.revision.no_permission"
UserCannotUpdateYourRole = "error.user.cannot_update_your_role"
+ TagCannotSetSynonymAsItself = "error.tag.cannot_set_synonym_as_itself"
+ NotAllowedRegistration = "error.user.not_allowed_registration"
)