Browse Source

fixed: server/service/system/sys_initdb_pgsql.go 初始化数据 使用 PgsqlDataInitialize

main
SliverHorn 3 years ago
parent
commit
8d026a0b71
  1. 2
      server/service/system/sys_initdb_pgsql.go

2
server/service/system/sys_initdb_pgsql.go

@ -69,7 +69,7 @@ func (initDBService *InitDBService) initPgsqlDB(conf request.InitDB) error {
// initPgsqlData pgsql 初始化数据 // initPgsqlData pgsql 初始化数据
// Author [SliverHorn](https://github.com/SliverHorn) // Author [SliverHorn](https://github.com/SliverHorn)
func (initDBService *InitDBService) initPgsqlData() error { func (initDBService *InitDBService) initPgsqlData() error {
return model.MysqlDataInitialize(
return model.PgsqlDataInitialize(
system.Api, system.Api,
system.User, system.User,
system.Casbin, system.Casbin,

Loading…
Cancel
Save