source/user.go
@@ -38,8 +38,8 @@ Password: adminPassword, NickName: "admin", UserType: constvar.UserTypeSuper, ParentId: "basic", // 超级管理员账户的父亲为空字符串,或者起个名字 Enable: true, //ParentId: "basic", // 超级管理员账户的父亲为空字符串,或者起个名字 //Enable: true, }, } if err = model.NewUserSearch(nil).CreateBatch(entities); err != nil {