li.shaoyi 1 年之前
父節點
當前提交
cc0b426ee9
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      app/package.json
  2. 2 2
      oem/tss/config/appconfig.json
  3. 2 2
      src/services/websocket/quote.ts

+ 1 - 1
app/package.json

@@ -1,6 +1,6 @@
 {
   "name": "trading-beta",
-  "version": "1.0.13",
+  "version": "1.0.14",
   "main": "main.js",
   "dependencies": {
     "electron-updater": "^6.1.4",

+ 2 - 2
oem/tss/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.tss",
   "appName": "TCE",
-  "version": "1.0.13",
-  "versionCode": "100013",
+  "version": "1.0.14",
+  "versionCode": "100014",
   "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204",
   "tradeChannel": "ws",
   "showLoginAlert": true,

+ 2 - 2
src/services/websocket/quote.ts

@@ -63,7 +63,7 @@ export default new (class {
             list.forEach((code) => {
                 if (!goodsList.some((e) => e.goodsCode === code)) {
                     goodsList.push({
-                        exchangeCode: 250,
+                        exchangeCode: 251,
                         goodsCode: code,
                         subState: 0,
                     })
@@ -75,7 +75,7 @@ export default new (class {
         this.connect().then(() => {
             // 订阅列表不能为空,如果空值会导致连接断开
             const codes = goodsList.length ? goodsList : [{
-                exchangeCode: 250,
+                exchangeCode: 251,
                 goodsCode: '0',
                 subState: 0,
             }]