Commit 1ab3595a authored by suyanlong's avatar suyanlong

rename field

parent 8fe096b0
...@@ -52,8 +52,8 @@ rule = "info" ...@@ -52,8 +52,8 @@ rule = "info"
[router] [router]
enable = false enable = false
RouteMethod = "single" route_method = "single"
RouteMethodArg = [] route_method_arg = []
[[appchains]] [[appchains]]
......
...@@ -30,8 +30,8 @@ type Config struct { ...@@ -30,8 +30,8 @@ type Config struct {
type Router struct { type Router struct {
Enable bool `toml:"enable" json:"enable,omitempty"` Enable bool `toml:"enable" json:"enable,omitempty"`
RouteMethod string `toml:"routeMethod" json:"routeMethod,omitempty"` RouteMethod string `toml:"route_method" json:"route_method,omitempty"`
RouteMethodArg []string `toml:"routeMethodArg" json:"routeMethodArg,omitempty"` RouteMethodArg []string `toml:"route_method_arg" json:"route_method_arg,omitempty"`
} }
type Peer struct { type Peer struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment