Documentation ¶
Index ¶
- type SiteInfoService
- func (s *SiteInfoService) GetPrivilegesConfig(ctx context.Context) (resp *schema.GetPrivilegesConfigResp, err error)
- func (s *SiteInfoService) GetSMTPConfig(ctx context.Context) (resp *schema.GetSMTPConfigResp, err error)
- func (s *SiteInfoService) GetSeo(ctx context.Context) (resp *schema.SiteSeoReq, err error)
- func (s *SiteInfoService) GetSiteBranding(ctx context.Context) (resp *schema.SiteBrandingResp, err error)
- func (s *SiteInfoService) GetSiteCustomCssHTML(ctx context.Context) (resp *schema.SiteCustomCssHTMLResp, err error)
- func (s *SiteInfoService) GetSiteGeneral(ctx context.Context) (resp *schema.SiteGeneralResp, err error)
- func (s *SiteInfoService) GetSiteInterface(ctx context.Context) (resp *schema.SiteInterfaceResp, err error)
- func (s *SiteInfoService) GetSiteLegal(ctx context.Context) (resp *schema.SiteLegalResp, err error)
- func (s *SiteInfoService) GetSiteLogin(ctx context.Context) (resp *schema.SiteLoginResp, err error)
- func (s *SiteInfoService) GetSiteTheme(ctx context.Context) (resp *schema.SiteThemeResp, err error)
- func (s *SiteInfoService) GetSiteUsers(ctx context.Context) (resp *schema.SiteUsersResp, err error)
- func (s *SiteInfoService) GetSiteWrite(ctx context.Context) (resp *schema.SiteWriteResp, err error)
- func (s *SiteInfoService) SaveSeo(ctx context.Context, req schema.SiteSeoReq) (err error)
- func (s *SiteInfoService) SaveSiteBranding(ctx context.Context, req *schema.SiteBrandingReq) (err error)
- func (s *SiteInfoService) SaveSiteCustomCssHTML(ctx context.Context, req *schema.SiteCustomCssHTMLReq) (err error)
- func (s *SiteInfoService) SaveSiteGeneral(ctx context.Context, req schema.SiteGeneralReq) (err error)
- func (s *SiteInfoService) SaveSiteInterface(ctx context.Context, req schema.SiteInterfaceReq) (err error)
- func (s *SiteInfoService) SaveSiteLegal(ctx context.Context, req *schema.SiteLegalReq) (err error)
- func (s *SiteInfoService) SaveSiteLogin(ctx context.Context, req *schema.SiteLoginReq) (err error)
- func (s *SiteInfoService) SaveSiteTheme(ctx context.Context, req *schema.SiteThemeReq) (err error)
- func (s *SiteInfoService) SaveSiteUsers(ctx context.Context, req *schema.SiteUsersReq) (err error)
- func (s *SiteInfoService) SaveSiteWrite(ctx context.Context, req *schema.SiteWriteReq) (resp interface{}, err error)
- func (s *SiteInfoService) UpdatePrivilegesConfig(ctx context.Context, req *schema.UpdatePrivilegesConfigReq) (err error)
- func (s *SiteInfoService) UpdateSMTPConfig(ctx context.Context, req *schema.UpdateSMTPConfigReq) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SiteInfoService ¶
type SiteInfoService struct {
// contains filtered or unexported fields
}
func NewSiteInfoService ¶
func NewSiteInfoService( siteInfoRepo siteinfo_common.SiteInfoRepo, siteInfoCommonService *siteinfo_common.SiteInfoCommonService, emailService *export.EmailService, tagCommonService *tagcommon.TagCommonService, configRepo config.ConfigRepo, ) *SiteInfoService
func (*SiteInfoService) GetPrivilegesConfig ¶ added in v1.1.0
func (s *SiteInfoService) GetPrivilegesConfig(ctx context.Context) (resp *schema.GetPrivilegesConfigResp, err error)
func (*SiteInfoService) GetSMTPConfig ¶
func (s *SiteInfoService) GetSMTPConfig(ctx context.Context) ( resp *schema.GetSMTPConfigResp, err error, )
GetSMTPConfig get smtp config
func (*SiteInfoService) GetSeo ¶ added in v1.0.0
func (s *SiteInfoService) GetSeo(ctx context.Context) (resp *schema.SiteSeoReq, err error)
func (*SiteInfoService) GetSiteBranding ¶ added in v0.4.0
func (s *SiteInfoService) GetSiteBranding(ctx context.Context) (resp *schema.SiteBrandingResp, err error)
GetSiteBranding get site info branding
func (*SiteInfoService) GetSiteCustomCssHTML ¶ added in v1.0.0
func (s *SiteInfoService) GetSiteCustomCssHTML(ctx context.Context) (resp *schema.SiteCustomCssHTMLResp, err error)
GetSiteCustomCssHTML get site custom css html config
func (*SiteInfoService) GetSiteGeneral ¶
func (s *SiteInfoService) GetSiteGeneral(ctx context.Context) (resp *schema.SiteGeneralResp, err error)
GetSiteGeneral get site info general
func (*SiteInfoService) GetSiteInterface ¶
func (s *SiteInfoService) GetSiteInterface(ctx context.Context) (resp *schema.SiteInterfaceResp, err error)
GetSiteInterface get site info interface
func (*SiteInfoService) GetSiteLegal ¶ added in v0.4.0
func (s *SiteInfoService) GetSiteLegal(ctx context.Context) (resp *schema.SiteLegalResp, err error)
GetSiteLegal get site legal info
func (*SiteInfoService) GetSiteLogin ¶ added in v1.0.0
func (s *SiteInfoService) GetSiteLogin(ctx context.Context) (resp *schema.SiteLoginResp, err error)
GetSiteLogin get site login info
func (*SiteInfoService) GetSiteTheme ¶ added in v1.0.0
func (s *SiteInfoService) GetSiteTheme(ctx context.Context) (resp *schema.SiteThemeResp, err error)
GetSiteTheme get site theme config
func (*SiteInfoService) GetSiteUsers ¶ added in v1.1.0
func (s *SiteInfoService) GetSiteUsers(ctx context.Context) (resp *schema.SiteUsersResp, err error)
GetSiteUsers get site info about users
func (*SiteInfoService) GetSiteWrite ¶ added in v0.4.0
func (s *SiteInfoService) GetSiteWrite(ctx context.Context) (resp *schema.SiteWriteResp, err error)
GetSiteWrite get site info write
func (*SiteInfoService) SaveSeo ¶ added in v1.0.0
func (s *SiteInfoService) SaveSeo(ctx context.Context, req schema.SiteSeoReq) (err error)
func (*SiteInfoService) SaveSiteBranding ¶ added in v0.4.0
func (s *SiteInfoService) SaveSiteBranding(ctx context.Context, req *schema.SiteBrandingReq) (err error)
SaveSiteBranding save site branding information
func (*SiteInfoService) SaveSiteCustomCssHTML ¶ added in v1.0.0
func (s *SiteInfoService) SaveSiteCustomCssHTML(ctx context.Context, req *schema.SiteCustomCssHTMLReq) (err error)
SaveSiteCustomCssHTML save site custom html configuration
func (*SiteInfoService) SaveSiteGeneral ¶
func (s *SiteInfoService) SaveSiteGeneral(ctx context.Context, req schema.SiteGeneralReq) (err error)
func (*SiteInfoService) SaveSiteInterface ¶
func (s *SiteInfoService) SaveSiteInterface(ctx context.Context, req schema.SiteInterfaceReq) (err error)
func (*SiteInfoService) SaveSiteLegal ¶ added in v0.4.0
func (s *SiteInfoService) SaveSiteLegal(ctx context.Context, req *schema.SiteLegalReq) (err error)
SaveSiteLegal save site legal configuration
func (*SiteInfoService) SaveSiteLogin ¶ added in v1.0.0
func (s *SiteInfoService) SaveSiteLogin(ctx context.Context, req *schema.SiteLoginReq) (err error)
SaveSiteLogin save site legal configuration
func (*SiteInfoService) SaveSiteTheme ¶ added in v1.0.0
func (s *SiteInfoService) SaveSiteTheme(ctx context.Context, req *schema.SiteThemeReq) (err error)
SaveSiteTheme save site custom html configuration
func (*SiteInfoService) SaveSiteUsers ¶ added in v1.1.0
func (s *SiteInfoService) SaveSiteUsers(ctx context.Context, req *schema.SiteUsersReq) (err error)
SaveSiteUsers save site users
func (*SiteInfoService) SaveSiteWrite ¶ added in v0.4.0
func (s *SiteInfoService) SaveSiteWrite(ctx context.Context, req *schema.SiteWriteReq) (resp interface{}, err error)
SaveSiteWrite save site configuration about write
func (*SiteInfoService) UpdatePrivilegesConfig ¶ added in v1.1.0
func (s *SiteInfoService) UpdatePrivilegesConfig(ctx context.Context, req *schema.UpdatePrivilegesConfigReq) (err error)
func (*SiteInfoService) UpdateSMTPConfig ¶
func (s *SiteInfoService) UpdateSMTPConfig(ctx context.Context, req *schema.UpdateSMTPConfigReq) (err error)
UpdateSMTPConfig get smtp config