Commit Graph

8 Commits

Author SHA1 Message Date
48a6d4d32e Service 优化
分离 业务逻辑到 Service
2022-10-06 17:58:11 +08:00
9eb2560ed1 通过反射注册路由 2022-10-06 16:41:32 +08:00
b2972673ae 添加 jwt && 配置
models 结构调整
2022-10-05 23:32:33 +08:00
c5819c1ce6 添加 casbin model 定义
casbin 初始化 && 测试
2022-10-05 16:02:09 +08:00
42274bffd1 swag 添加 SecurityDefinitions 定义 2022-10-05 14:47:07 +08:00
16a1217025 使用 goccy/go-json 替代 encoding/json 2022-10-04 16:50:14 +08:00
671e6a1d54 调整 2022-10-04 16:17:04 +08:00
fbb65eac73 简单的数据库查询 2022-10-04 14:59:46 +08:00