organization

pull/218/head
skiffer-git 3 years ago
parent 300b72b9b8
commit af5ee45206

@ -145,6 +145,7 @@ rpcregistername: #rpc注册服务名默认即可
OpenImMessageCMSName: MessageCMS OpenImMessageCMSName: MessageCMS
openImAdminCMSName: AdminCMS openImAdminCMSName: AdminCMS
openImOfficeName: Office openImOfficeName: Office
openImOrganizationName: Organization
log: log:
storageLocation: ../logs/ storageLocation: ../logs/

@ -31,7 +31,7 @@ func NewGroupServer(port int) *organizationServer {
log.NewPrivateLog(constant.LogFileName) log.NewPrivateLog(constant.LogFileName)
return &organizationServer{ return &organizationServer{
rpcPort: port, rpcPort: port,
rpcRegisterName: config.Config.RpcRegisterName.OpenImGroupName, rpcRegisterName: config.Config.RpcRegisterName.OpenImOrganizationName,
etcdSchema: config.Config.Etcd.EtcdSchema, etcdSchema: config.Config.Etcd.EtcdSchema,
etcdAddr: config.Config.Etcd.EtcdAddr, etcdAddr: config.Config.Etcd.EtcdAddr,
} }

@ -117,6 +117,7 @@ type config struct {
OpenImMessageCMSName string `yaml:"openImMessageCMSName"` OpenImMessageCMSName string `yaml:"openImMessageCMSName"`
OpenImAdminCMSName string `yaml:"openImAdminCMSName"` OpenImAdminCMSName string `yaml:"openImAdminCMSName"`
OpenImOfficeName string `yaml:"openImOfficeName"` OpenImOfficeName string `yaml:"openImOfficeName"`
OpenImOrganizationName string `yaml:"openImOrganizationName"`
} }
Etcd struct { Etcd struct {
EtcdSchema string `yaml:"etcdSchema"` EtcdSchema string `yaml:"etcdSchema"`

Loading…
Cancel
Save