|
@@ -5,50 +5,51 @@ package coreconfig
|
|
|
|
|
|
//系统配置
|
|
|
type config struct {
|
|
|
- Webserverport string `json:"webServerPort"` //web服务器端口
|
|
|
- Redisservers string `json:"redisServers"` //redis缓存服务器列表
|
|
|
- Useredis bool `json:"useRedis"`
|
|
|
- Mongodbservers string `json:"mongodbServers"` //mongodb节点
|
|
|
- MongodbPoolSize int `json:"mongodbPoolSize"`
|
|
|
- MongodbName string `json:"mongodbName"`
|
|
|
- Cassandra []string `json:"cassandra"`
|
|
|
- Cassandrasize int `json:"cassandrasize"`
|
|
|
- Elasticsearch string `json:"elasticsearch"`
|
|
|
- JyEscsearch string `json:"jyescsearch"` //content内容
|
|
|
- Smtp smtp `json:"smtp"`
|
|
|
- JyopSmtp smtp `json:"jyopSmtp"`
|
|
|
- Sms sms `json:"sms"`
|
|
|
- Entrelation entrelation `json:"entrelation”`
|
|
|
- Allownfiletype string `json:"allownfiletype"`
|
|
|
- Filesize int `json:"filesize"`
|
|
|
- TemplateCache bool `json:"templateCache"`
|
|
|
- HttpCache bool `json:"httpCache"`
|
|
|
- MailFailureTime int `json:"mailFailureTime"`
|
|
|
- ChatServer string `json:"chatServer"`
|
|
|
- ChatRpc string `json:"chatRpc"`
|
|
|
- PushRpc string `json:"pushRpc"`
|
|
|
- ElasticPoolSize int `json:"elasticPoolSize"`
|
|
|
- Ocr_uid string `json:"orc_uid"`
|
|
|
- Ocr_servicekey string `json:"ocr_servicekey"`
|
|
|
- Ocr_servicecode string `json:"ocr_servicecode"`
|
|
|
- EntMongodbservers string `json:"entMongodbServers"` //mongodb节点
|
|
|
- EntMongodbPoolSize int `json:"entMongodbPoolSize"`
|
|
|
- EntMongodbName string `json:"entMongodbName"`
|
|
|
- EntMongodbAlias string `json:"entMongodbAlias"`
|
|
|
- FollowEnterprise int `json:"followEnterprise"`
|
|
|
- AtrrTitle map[string]interface{} `json:"atrrTitle"`
|
|
|
- JyWebdomain string `json:"jyWebdomain"`
|
|
|
- QmxWebdomain string `json:"qmxWebdomain"`
|
|
|
- ServiceApp int `json:"serviceApp"`
|
|
|
- Jyadd string `json:"jyadd"`
|
|
|
- JyopWebdomain string `json:"jyopWebdomain"`
|
|
|
- UdpHandle udphandle `json:"udpHandle"`
|
|
|
- Per_del_openid []string `json:"per_del_openid"`
|
|
|
- AppPushServiceRpc string `json:"appPushServiceRpc"`
|
|
|
- Pchelper Pchelper `json:"pcHelper"`
|
|
|
- Mysql map[string]string `json:"mysql"`
|
|
|
- PushSubscribeRpc string `json:"pushSubscribeRpc"`
|
|
|
- JyRpc string `json:"jyRpc"`
|
|
|
+ Webserverport string `json:"webServerPort"` //web服务器端口
|
|
|
+ Redisservers string `json:"redisServers"` //redis缓存服务器列表
|
|
|
+ Useredis bool `json:"useRedis"`
|
|
|
+ Mongodbservers string `json:"mongodbServers"` //mongodb节点
|
|
|
+ MongodbPoolSize int `json:"mongodbPoolSize"`
|
|
|
+ MongodbName string `json:"mongodbName"`
|
|
|
+ Cassandra []string `json:"cassandra"`
|
|
|
+ Cassandrasize int `json:"cassandrasize"`
|
|
|
+ Elasticsearch string `json:"elasticsearch"`
|
|
|
+ JyEscsearch string `json:"jyescsearch"` //content内容
|
|
|
+ Smtp smtp `json:"smtp"`
|
|
|
+ JyopSmtp smtp `json:"jyopSmtp"`
|
|
|
+ Sms sms `json:"sms"`
|
|
|
+ Entrelation entrelation `json:"entrelation”`
|
|
|
+ Allownfiletype string `json:"allownfiletype"`
|
|
|
+ Filesize int `json:"filesize"`
|
|
|
+ TemplateCache bool `json:"templateCache"`
|
|
|
+ HttpCache bool `json:"httpCache"`
|
|
|
+ MailFailureTime int `json:"mailFailureTime"`
|
|
|
+ ChatServer string `json:"chatServer"`
|
|
|
+ ChatRpc string `json:"chatRpc"`
|
|
|
+ PushRpc string `json:"pushRpc"`
|
|
|
+ ElasticPoolSize int `json:"elasticPoolSize"`
|
|
|
+ Ocr_uid string `json:"orc_uid"`
|
|
|
+ Ocr_servicekey string `json:"ocr_servicekey"`
|
|
|
+ Ocr_servicecode string `json:"ocr_servicecode"`
|
|
|
+ EntMongodbservers string `json:"entMongodbServers"` //mongodb节点
|
|
|
+ EntMongodbPoolSize int `json:"entMongodbPoolSize"`
|
|
|
+ EntMongodbName string `json:"entMongodbName"`
|
|
|
+ EntMongodbAlias string `json:"entMongodbAlias"`
|
|
|
+ FollowEnterprise int `json:"followEnterprise"`
|
|
|
+ AtrrTitle map[string]interface{} `json:"atrrTitle"`
|
|
|
+ JyWebdomain string `json:"jyWebdomain"`
|
|
|
+ QmxWebdomain string `json:"qmxWebdomain"`
|
|
|
+ ServiceApp int `json:"serviceApp"`
|
|
|
+ Jyadd string `json:"jyadd"`
|
|
|
+ JyopWebdomain string `json:"jyopWebdomain"`
|
|
|
+ UdpHandle udphandle `json:"udpHandle"`
|
|
|
+ Per_del_openid []string `json:"per_del_openid"`
|
|
|
+ AppPushServiceRpc string `json:"appPushServiceRpc"`
|
|
|
+ Pchelper Pchelper `json:"pcHelper"`
|
|
|
+ Mysql map[string]string `json:"mysql"`
|
|
|
+ PushSubscribeRpc string `json:"pushSubscribeRpc"`
|
|
|
+ JyRpc string `json:"jyRpc"`
|
|
|
+ Invoice_interface_address string `json:"invoice_interface_address"`
|
|
|
}
|
|
|
type smtp struct {
|
|
|
Addr string `json:"addr"`
|