偏好推荐修正
This commit is contained in:
		@@ -240,7 +240,7 @@ func main() {
 | 
			
		||||
 | 
			
		||||
	// graphql Schema
 | 
			
		||||
	schema, err := api.NewSchema(api.Config{
 | 
			
		||||
		Mysql: api.ConfigMysql{
 | 
			
		||||
		Mysql: api.MysqlConfig{
 | 
			
		||||
			Host:     config.GetString("mysql.host"),
 | 
			
		||||
			Port:     config.GetInt("mysql.port"),
 | 
			
		||||
			Database: config.GetString("mysql.database"),
 | 
			
		||||
@@ -250,6 +250,11 @@ func main() {
 | 
			
		||||
		Oss: api.Oss{
 | 
			
		||||
			Local: config.GetBool("oss.local"),
 | 
			
		||||
		},
 | 
			
		||||
		Gorse: api.GorseConfig{
 | 
			
		||||
			Host: config.GetString("gorse.host"),
 | 
			
		||||
			Port: config.GetInt("gorse.port"),
 | 
			
		||||
			Open: config.GetBool("gorse.open"),
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		log.Fatalf("failed to create new schema, error: %v", err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user