|
|
@ -7,18 +7,18 @@ import ( |
|
|
|
|
|
|
|
func Data() { |
|
|
|
var err error |
|
|
|
//err = service.InitSysApi()
|
|
|
|
//err = service.InitSysUser()
|
|
|
|
//err = service.InitExaCustomer()
|
|
|
|
//err = service.InitCasbinModel()
|
|
|
|
//err = service.InitSysAuthority()
|
|
|
|
//err = service.InitSysBaseMenus()
|
|
|
|
err = service.InitSysApi() |
|
|
|
err = service.InitSysUser() |
|
|
|
err = service.InitExaCustomer() |
|
|
|
err = service.InitCasbinModel() |
|
|
|
err = service.InitSysAuthority() |
|
|
|
err = service.InitSysBaseMenus() |
|
|
|
err = service.InitAuthorityMenu() |
|
|
|
//err = service.InitSysDictionary()
|
|
|
|
//err = service.InitSysAuthorityMenus()
|
|
|
|
//err = service.InitSysDataAuthorityId()
|
|
|
|
//err = service.InitSysDictionaryDetail()
|
|
|
|
//err = service.InitExaFileUploadAndDownload()
|
|
|
|
err = service.InitSysDictionary() |
|
|
|
err = service.InitSysAuthorityMenus() |
|
|
|
err = service.InitSysDataAuthorityId() |
|
|
|
err = service.InitSysDictionaryDetail() |
|
|
|
err = service.InitExaFileUploadAndDownload() |
|
|
|
if err != nil { |
|
|
|
global.GVA_LOG.Error("initialize data failed", err) |
|
|
|
} |
|
|
|