|
hace 4 años | |
---|---|---|
api | hace 4 años | |
conf | hace 4 años | |
db | hace 4 años | |
lock | hace 4 años | |
manage | hace 4 años | |
middleware | hace 4 años | |
model | hace 4 años | |
router | hace 4 años | |
service | hace 4 años | |
static | hace 4 años | |
sword_base | hace 4 años | |
test | hace 4 años | |
utils | hace 4 años | |
.gitignore | hace 4 años | |
BusinessIntrduce.md | hace 4 años | |
README.md | hace 4 años | |
config.toml | hace 4 años | |
go.mod | hace 4 años | |
go.sum | hace 4 años | |
main.go | hace 4 años |
剑鱼应用基础模块mod,包含core(配置文件系统、zap日志系统)、工具类集合(mysql、redis)、global(基础全局变量logger、自定义配置文件map、基础配置BaseConfig、环境变量EnvPath、Env)
剑鱼接口服务,使用go mod进行包依赖管理.
sword_base(mod名字是sfbase),以及三方服务.
http服务使用gin.
mysql数据库orm工具gorm.
redis使用redigo(原剑鱼基础工具包迁移过来).
使用gin middleware验证api访问权限,http header中携带token(MD5(app_id+secrect_key+时间戳))+时间戳
v1. 九江银行项目服务接口
1.getProjectsList
2.getProjectDetail