Commit Graph

22 Commits

Author SHA1 Message Date
SliverHorn dd65a4a716 Migrate the gva project to the cmd folder, delete other redundant database configurations, optimize the initialization method of viper, zap, and gorm 2020-10-22 16:28:51 +08:00
SliverHorn c6700a72bc 适配了Gorm的v1.20.0版本,迁移初始表的注册函数至gorm.go并优化了代码,注释了sqlite的初始化,需要的自行打开注释,默认使用mysql 2020-09-09 14:48:33 +08:00
SliverHorn e9ef8f7882 完成GORM的支持四个数据库的配置 2020-09-07 18:17:27 +08:00
pixel be9c85ae42 删除无用函数,整洁结构目录 2020-09-07 13:56:21 +08:00
pixel a8b01b6314 开启初始化配置 暂时修改为 配置文件控制 2020-09-07 13:18:02 +08:00
pixel 513259f65f 自动初始化单独建包 为 命令行做基础 2020-09-07 13:10:53 +08:00
pixel fb6dfcbd72 自动初始化单独建仓 为 命令行做基础 2020-09-07 11:33:28 +08:00
QM303176530 34bc072efd gormv2版本不再提供db初始化数据 2020-08-31 23:48:02 +08:00
QM303176530 d7813c3507 用户头像由上传模式改为 媒体库选择模式 2020-08-31 23:33:28 +08:00
SliverHorn 8fb0df69b9 注释初始化函数,按需打开 2020-08-25 18:39:53 +08:00
SliverHorn d4101f7f34 修复一些数据同步问题,更新文档,取消在配置文件读取值作为同步数据的标志,改为方法注释的方式 2020-08-25 18:17:33 +08:00
SliverHorn cf73dbd0d9 数据初始化完成 2020-08-25 16:34:45 +08:00
QM303176530 363ff3ba70 gormv2升级 第一阶段 2020-08-23 15:13:23 +08:00
Leonard Wang b09e54c205 修复格式问题,重构嵌套层数过深的函数 2020-05-19 23:46:07 +08:00
pixel 0be0ec9a2f 增加角色复制后台功能 修复swagger不能带token的问题 2020-04-20 16:21:50 +08:00
pixel 2f0b39af3d 注释sqlite 防止gcc错误 需要使用自行打开注释即可 感谢 sqlitet提供者 [rikugun] 作者github: https://github.com/rikugun 2020-04-13 10:30:26 +08:00
QM303176530 c6a8a47932 增加对sqlite数据库的支持 默认模式为mysql数据库 2020-04-12 13:34:29 +08:00
rikugun 71fd0eb9ad feat: 系统配置界面增加sqlite 配置 2020-04-12 11:39:16 +08:00
rikugun 47a45e2d67 feat: 增加sqlite 支持 2020-04-12 11:19:28 +08:00
QM303176530 08ff55ffce update: The code structure is finished, and the project can run successfully 2020-04-05 16:18:19 +08:00
Granty1 1891c1bcbc Refine some structs and handle cycle import 2020-04-05 09:18:25 +08:00
QM303176530 1b9adea284 gin-vue-admin 2.0代码重构 2020-04-04 21:39:07 +08:00