Url路由 泛解析

This commit is contained in:
刘河
2019-02-15 22:59:28 +08:00
parent 44d314515b
commit 9f6b33a62b
26 changed files with 262 additions and 156 deletions

View File

@@ -136,7 +136,7 @@ func dealTunnel(s string) *file.Tunnel {
}
switch item[0] {
case "port":
t.Port = common.GetIntNoErrByStr(item[1])
t.Ports = item[1]
case "mode":
t.Mode = item[1]
case "target":