-
数据字段修改
- en --> enName
- cn --> cnName
-
bug: address 和 logo 数据相反
-
代码结构调整
|____routers
| |____routers.go
|____util
| |____logger.go
| |____viper.go
|____change.md
|____config.yaml
|____controller
| |____ensRegist.go
| |____rate.go
| |____transaction.go
| |____article.go
| |____ensSearch.go
| |____erc20.go
|____common
| |____tokens.go
| |____apis.go
|____static
| |____images
|____db
| |____db.go
|____main.go
|____sql
| |____tokens.sql
-
go mod
-
交叉编译
windows64
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o main.exe main.golinux64
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main main.go
- 新增法币汇率接口
LG_rate - 新增错误消息
- 新增代币余额查询接口
- method
LG_getBalance - params [ ["address1","address2"] , "pub_key" ]
- method
- 删除汇率查询接口
LG_rate - 新增代币价格查询接口
LG_getTokensPrice
- 新增域名申请接口
LG_ensRegister - 新增域名查询公钥接口
LG_ensSearch - 封装response,增加错误消息
- 新增文章查询接口
LG_article
- 新增公钥查询域名接口
LG_ensSearchByKey
- 修改公钥查询域名接口为返回最新域名