增加初始化参数

This commit is contained in:
pixel
2020-11-17 17:35:23 +08:00
parent 2fad9035d3
commit ac4398873b
9 changed files with 154 additions and 193 deletions

View File

@@ -22,6 +22,7 @@ func InitMysqlData(db *gorm.DB) {
err = InitSysDataAuthorityId(db)
err = InitSysDictionaryDetail(db)
err = InitExaFileUploadAndDownload(db)
err = InitWkProcess(db)
if err != nil {
color.Warn.Printf("[Mysql]-->初始化数据失败,err: %v\n", err)
os.Exit(0)