package config import ( "SciencesServer/app/basic/config" config2 "SciencesServer/config" ) type Config struct{} // Basic 基础配置信息 func (c *Config) Basic() { } // Config 配置信息 func (c *Config) Config() map[string]interface{} { return config2.SystemConfig } // Identity 身份信息 func (c *Config) Identity() map[int]string { return config.TenantUserIdentityData } // Transaction 交易信息 func (c *Config) Transaction() map[int]string { return config.TechnologyTransactionData } // Industry 行业信息 func (c *Config) Industry() map[string]*config.MemoryForIndustry { return config.MemoryForIndustryInfo } // Research 研究领域信息 func (c *Config) Research() { } // Area 区域信息 func (c *Config) Area(key string) map[string]string { if key == "" { key = config2.DefaultChinaAreaCode } return config2.SettingAreaInfo[key] } func NewConfig() *Config { return &Config{} }