From 74ecd8477502cb97ef3649ea74a2d4c063275224 Mon Sep 17 00:00:00 2001 From: howell <2827207845@qq.com> Date: Thu, 31 Mar 2022 15:26:45 +0800 Subject: [PATCH] fix: root_id --- internal/service/app/register.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/service/app/register.go b/internal/service/app/register.go index b8e468a..b9514f9 100644 --- a/internal/service/app/register.go +++ b/internal/service/app/register.go @@ -50,6 +50,7 @@ func (r *registerUser) UserAdd(c *gin.Context, login *user.Login, info *user.Inf if p.Level == 2 { level = 0 parentID = p.ID + rootID = p.RootID } if p.Level == 10 { level = 2