1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package config
- import (
- "app.yhyue.com/moapp/jybase/mysql"
- "github.com/zeromicro/go-zero/core/logx"
- "github.com/zeromicro/go-zero/zrpc"
- )
- type Config struct {
- zrpc.RpcServerConf
- UserCenterRpc zrpc.RpcClientConf
- Logx logx.LogConf
- Mysql struct {
- JianYu *mysql.Mysql
- JyDoc *mysql.Mysql
- Bi *mysql.Mysql
- Tidb *mysql.Mysql
- BiTidb *mysql.Mysql
- CallTidb *mysql.Mysql
- BiService *mysql.Mysql
- }
- Mongo struct {
- Qfw struct {
- MongodbAddr string
- Size int
- DbName string
- }
- Bidding struct {
- MongodbAddr string
- Size int
- DbName string
- UserName string
- Password string
- }
- }
- Es struct {
- Address string
- DbSize int
- Index string
- IType string
- Version string
- UserName string
- Password string
- }
- Mode string
- CustomerCol string
- AddCountLimit int
- DrawCountLimit int
- TopicName string
- NsqUrl string
- RedisAddress []string
- Hlyj struct {
- Appid string
- Account string
- Secret string
- TokenUrl string
- CallFlag int
- CallUrl string
- Integratedid string
- }
- PublicKey string
- }
|