MTP2.0 Go 查询服务

deng.yinping c40a5174bc /Digital/QueryTaaccountDigitalLogs:获取用户现货账户流水表 2 月之前
.vscode b0ff351d4d update 1 年之前
algorithm 501b98aa6d rabbitmq组件合入 5 年之前
busdriver a0b7934ad5 服务配置项支持加解密 1 年之前
config e424a3b193 解决腾讯电子签非同交易所多个子客账户模式下获取不到子客信息的问题 3 月之前
controllers 6edf09c354 /Digital/QueryTaaccountDigitalLogs:获取用户现货账户流水表 2 月之前
db a646273c51 修改 MongoDB Ping 逻辑 BUG 3 月之前
docs 6edf09c354 /Digital/QueryTaaccountDigitalLogs:获取用户现货账户流水表 2 月之前
global 2a1b35901e 腾讯电子签业务功能上线 2 年之前
logger 754030e8bc 任务 #5805 1 年之前
middleware ad6161eeb3 增加调用接口合法性判断 1 年之前
models c40a5174bc /Digital/QueryTaaccountDigitalLogs:获取用户现货账户流水表 2 月之前
mtpcache b19be16fd9 任务 #6755 【Go查询】添加配置商品盘面信息获取方式:MySQL(原逻辑)、Redis(新实现);配置为从Redis获取时,不再需要配置MySQL连接参数 3 月之前
packet a0b7934ad5 服务配置项支持加解密 1 年之前
pb 6aeba42464 任务 #7129 【Go查询】接口“api/sbyj/GetMyOrders”: "TradeHolderDetailEx"Redis结构添加“止盈止损"相关字段 3 月之前
playground 73c08ea54c 海商游客功能 5 年之前
rediscli a0b7934ad5 服务配置项支持加解密 1 年之前
res 48958a237a update 2 年之前
routers 6edf09c354 /Digital/QueryTaaccountDigitalLogs:获取用户现货账户流水表 2 月之前
services 07277f95e2 修改 Redis 盘面引发的 BUG。 3 月之前
token c2447ec4ab fixed bug. 9 月之前
utils bb76b4bbd3 接口 7 月之前
.DS_Store 85f8c9f44d update pc_menu.json 4 年之前
.gitignore 0d5fd1839e #6618 【Go查询】接口:Common/QueryNotice 添加返回字段 isforcedisplay 10 月之前
.markdownlint.json 2cd780754b 新增接口 /Bank/GetCusBankInfos 获取托管银行信息列表 1 年之前
MTP20_IF.code-workspace 9aa49beb34 增加工作区文件 1 年之前
README.md d166d64ea3 /sbyj/GetMyOrders(获取我的订单列表):添加查询条件”accountId"; 2 月之前
go.mod 74bbb93b56 支持 MongoDB 3.4+ 各版本数据库 3 月之前
go.sum 74bbb93b56 支持 MongoDB 3.4+ 各版本数据库 3 月之前
main.go b19be16fd9 任务 #6755 【Go查询】添加配置商品盘面信息获取方式:MySQL(原逻辑)、Redis(新实现);配置为从Redis获取时,不再需要配置MySQL连接参数 3 月之前

README.md

MTP20_IF

MTP2.0 Go 查询服务

编译

go build .

调试

运行 》 启动调试

Swagger调试

http://127.0.0.1:8080/swagger/index.html

更新swagger文档 go install github.com/swaggo/swag/cmd/swag@latest swag init

商品盘面获取配置

MySQLSetting 节点 Enabled=0: 商品盘面从Redis获取, 配合使用新存储服务“quote_historystorage_nomysql” 。MySQL其它配置不需要 Enabled=1: 商品盘面从MySQL获取, 依旧使用旧存储服务“quote_historystorage” 。MySQL其它配置需要