添加代码生成中route和gorm的自动注入

This commit is contained in:
LeonardWang
2021-03-19 23:24:55 +08:00
parent 9e0f95ec48
commit 0a3696ee01
8 changed files with 178 additions and 13 deletions

View File

@@ -48,6 +48,9 @@ func MysqlTables(db *gorm.DB) {
model.ExaSimpleUploader{},
model.ExaCustomer{},
model.SysOperationRecord{},
// Code generated by gin-vue-admin Begin; DO NOT EDIT.
// Code generated by gin-vue-admin End; DO NOT EDIT.
)
if err != nil {
global.GVA_LOG.Error("register table failed", zap.Any("err", err))