权限初步模板

This commit is contained in:
pixelqm
2019-09-08 16:37:05 +08:00
parent 1b1ceefa27
commit 9f17f71ee2
13 changed files with 707 additions and 101 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ import (
//注册数据库表专用
func RegistTable(db *gorm.DB) {
db.AutoMigrate(dbModel.User{}, dbModel.Authority{}, dbModel.Menu{})
db.AutoMigrate(dbModel.User{}, dbModel.Authority{}, dbModel.Menu{}, dbModel.Api{})
}