Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming 2023-08-29 10:31:58 +08:00
commit ddf64ba5b9

View File

@ -29,7 +29,7 @@ type ServiceContext struct {
func NewServiceContext(c config.Config) *ServiceContext {
conn := initalize.InitMysql(c.SourceMysql)
// StateServer := shared.StartNode(c.ReplicaId, autoconfig.AutoGetAllServerConfig(), conn)
registerAddress := fmt.Sprintf("http://%s/api/auth/oauth2/register", c.MainAddress)
registerAddress := fmt.Sprintf("%s/api/auth/oauth2/register", c.MainAddress)
return &ServiceContext{
Config: c,
MysqlConn: conn,