MTP2.0 Go 查询服务

muchinfo 2634b5fe3d 增加查询钱包链接口 /Wallet/QueryWalletChains 1 month ago
.vscode b0ff351d4d update 1 year ago
algorithm 501b98aa6d rabbitmq组件合入 5 years ago
busdriver a0b7934ad5 服务配置项支持加解密 1 year ago
config b72ab64c1a 修改 config.xml 默认值,去除 key 相关值内容,默认关闭腾讯云等配置项目。 1 month ago
controllers 2634b5fe3d 增加查询钱包链接口 /Wallet/QueryWalletChains 1 month ago
db a646273c51 修改 MongoDB Ping 逻辑 BUG 3 months ago
docs 2634b5fe3d 增加查询钱包链接口 /Wallet/QueryWalletChains 1 month ago
global 2a1b35901e 腾讯电子签业务功能上线 2 years ago
logger 754030e8bc 任务 #5805 1 year ago
middleware ad6161eeb3 增加调用接口合法性判断 1 year ago
models 2634b5fe3d 增加查询钱包链接口 /Wallet/QueryWalletChains 1 month ago
mtpcache 8abe9783f6 更新字段注释 2 months ago
packet a0b7934ad5 服务配置项支持加解密 1 year ago
pb 6aeba42464 任务 #7129 【Go查询】接口“api/sbyj/GetMyOrders”: "TradeHolderDetailEx"Redis结构添加“止盈止损"相关字段 3 months ago
playground 73c08ea54c 海商游客功能 5 years ago
rediscli a0b7934ad5 服务配置项支持加解密 1 year ago
res 48958a237a update 2 years ago
routers 2634b5fe3d 增加查询钱包链接口 /Wallet/QueryWalletChains 1 month ago
services 07277f95e2 修改 Redis 盘面引发的 BUG。 3 months ago
token c2447ec4ab fixed bug. 9 months ago
utils bb76b4bbd3 接口 7 months ago
.DS_Store 85f8c9f44d update pc_menu.json 4 years ago
.gitignore 0d5fd1839e #6618 【Go查询】接口:Common/QueryNotice 添加返回字段 isforcedisplay 10 months ago
.markdownlint.json 2cd780754b 新增接口 /Bank/GetCusBankInfos 获取托管银行信息列表 1 year ago
MTP20_IF.code-workspace 9aa49beb34 增加工作区文件 1 year ago
README.md d166d64ea3 /sbyj/GetMyOrders(获取我的订单列表):添加查询条件”accountId"; 2 months ago
go.mod 74bbb93b56 支持 MongoDB 3.4+ 各版本数据库 3 months ago
go.sum 74bbb93b56 支持 MongoDB 3.4+ 各版本数据库 3 months ago
main.go b19be16fd9 任务 #6755 【Go查询】添加配置商品盘面信息获取方式:MySQL(原逻辑)、Redis(新实现);配置为从Redis获取时,不再需要配置MySQL连接参数 3 months ago

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其它配置需要