Jelajahi Sumber

Merge branch 'master' of http://192.168.31.240:3000/MTP2.0_New/MTP20_IF

muchinfo 3 bulan lalu
induk
melakukan
7be87550a2
2 mengubah file dengan 9 tambahan dan 1 penghapusan
  1. 7 1
      README.md
  2. 2 0
      config/config.xml

+ 7 - 1
README.md

@@ -9,4 +9,10 @@ go build
 运行 》 启动高度
 
 Swagger调试:
-http://127.0.0.1:[ListenAddress]/swagger/index.html
+http://127.0.0.1:[ListenAddress]/swagger/index.html
+
+
+商品盘面获取配置:
+<MySQLSetting>节点
+Enabled=0: 商品盘面从Redis获取, 配合使用新存储服务“quote_historystorage_nomysql” 。MySQL其它配置不需要
+Enabled=1: 商品盘面从MySQL获取, 依旧使用旧存储服务“quote_historystorage” 。MySQL其它配置需要

+ 2 - 0
config/config.xml

@@ -42,6 +42,8 @@
     <Password value="123456"/>
   </MongoDBSetting>
   <MySQLSetting>
+    <!-- Enabled=0: 商品盘面从Redis获取, 配合使用新存储服务“quote_historystorage_redis” 。MySQL其它配置不需要
+         Enabled=1: 商品盘面从MySQL获取, 依旧使用旧存储服务“quote_historystorage” 。MySQL其它配置需要 -->
     <Enabled value="0"/>
     <Host value="192.168.30.72"/>
     <Port value="3306"/>