Explorar o código

增加cfg配置项

zhou.xiaoning %!s(int64=2) %!d(string=hai) anos
pai
achega
84171e4053
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      config/cfg.j2
  2. 2 0
      config/cfg.json

+ 2 - 0
config/cfg.j2

@@ -2,6 +2,8 @@
     "{{go_queryservice_top}}": {
         "quoteUrl": "ws://{{ws2tcp_internet_addr}}:{{ws2tcp_quote_agent_listen_port}}",
         "tradeUrl": "ws://{{ws2tcp_internet_addr}}:{{ws2tcp_access_listen_port}}",
+        "quoteWS": "ws://{{quoteWS}}/api/Quote/WS",
+        "tradeWS": "ws://{{tradeWS}}/api/Trade/WS",
         "uploadUrl": "{{openonline_url}}/upload",
         "commSearchUrl": "{{search_url}}",
         "goCommonSearchUrl": "http://{{ws2tcp_internet_addr}}:{{go_queryservice_listen_port}}/api",

+ 2 - 0
config/cfg.json

@@ -2,6 +2,8 @@
     "dev_104": {
         "quoteUrl": "ws://192.168.31.104:18891",
         "tradeUrl": "ws://192.168.31.104:18892",
+        "quoteWS": "ws://192.168.31.204:8888/api/Quote/WS",
+        "tradeWS": "ws://192.168.31.204:8888/api/Trade/WS",
         "uploadUrl": "http://192.168.31.104:5015/mtp2-onlineopen/upload",
         "commSearchUrl": "http://192.168.31.104:5019/mtp2-search",
         "goCommonSearchUrl": "http://192.168.31.104:8080/api",