You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 rivejä
440 B

  1. package system_setting
  2. import "github.com/QuantumNous/new-api/setting/config"
  3. type LegalSettings struct {
  4. UserAgreement string `json:"user_agreement"`
  5. PrivacyPolicy string `json:"privacy_policy"`
  6. }
  7. var defaultLegalSettings = LegalSettings{
  8. UserAgreement: "",
  9. PrivacyPolicy: "",
  10. }
  11. func init() {
  12. config.GlobalConfig.Register("legal", &defaultLegalSettings)
  13. }
  14. func GetLegalSettings() *LegalSettings {
  15. return &defaultLegalSettings
  16. }