refactor(conf): 优化配置文件并调整数据库连接
- 注释掉 Redis 配置相关行- 更新 MySQL 端口和密码 - 删除 Redis 配置部分 - 注释掉 Redis客户端初始化代码 - 添加 lancet 库以支持切片操作 - 优化 GetOrderProfitByBankOrderId 函数,使用并发查询
This commit is contained in:
1
go.mod
1
go.mod
@@ -20,6 +20,7 @@ require (
|
||||
github.com/beorn7/perks v1.0.1 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
github.com/duke-git/lancet/v2 v2.3.4 // indirect
|
||||
github.com/fatih/color v1.12.0 // indirect
|
||||
github.com/fsnotify/fsnotify v1.4.9 // indirect
|
||||
github.com/hashicorp/golang-lru v0.5.4 // indirect
|
||||
|
||||
Reference in New Issue
Block a user