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): rename site seo

LinkinStar1fa00620597e
diff --git a/internal/schema/siteinfo_schema.go b/internal/schema/siteinfo_schema.go
index fcf65e25..d3f80647 100644
--- a/internal/schema/siteinfo_schema.go
+++ b/internal/schema/siteinfo_schema.go
@@ -162,13 +162,13 @@ type SiteInfoResp struct {
Login *SiteLoginResp `json:"login"`
Theme *SiteThemeResp `json:"theme"`
CustomCssHtml *SiteCustomCssHTMLResp `json:"custom_css_html"`
- SiteSeo *SiteSeoReq `json:"siteseo"`
+ SiteSeo *SiteSeoReq `json:"site_seo"`
}
type TemplateSiteInfoResp struct {
General *SiteGeneralResp `json:"general"`
Interface *SiteInterfaceResp `json:"interface"`
Branding *SiteBrandingResp `json:"branding"`
- SiteSeo *SiteSeoReq `json:"siteseo"`
+ SiteSeo *SiteSeoReq `json:"site_seo"`
Title string
Year string
Canonical string