提交 ee3b9813 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

根据gorm调整初始化数据 sys_data_authority_ids -> sys_data_authority_id

上级 0c2d9af0
......@@ -411,7 +411,7 @@ func InitSysDataAuthorityId() (err error) {
{"9528", "8881"},
{"9528", "9528"},
}
if tx.Table("sys_data_authority_ids").Create(&insert).Error != nil { // 遇到错误时回滚事务
if tx.Table("sys_data_authority_id").Create(&insert).Error != nil { // 遇到错误时回滚事务
tx.Rollback()
}
return tx.Commit().Error
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册