From 057422051a7f18a0de697ccb67372d946affa77d Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Sun, 9 Apr 2023 12:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/internal/dao/artistInfo_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/internal/dao/artistInfo_user.go b/cmd/internal/dao/artistInfo_user.go index 3df7b27..b16b7b4 100644 --- a/cmd/internal/dao/artistInfo_user.go +++ b/cmd/internal/dao/artistInfo_user.go @@ -35,7 +35,7 @@ func RegisterUser(req *artistInfoUser.RegisterUserRequest) (rep *artistInfoUser. zap.L().Debug(fmt.Sprintf("RegisterUser--user: %+v", user)) if err = db.DB.Create(&user).Error; err != nil { zap.L().Error("register user err", zap.Error(err)) - err = errors.New(m.ERROR_SELECT) + err = errors.New(m.CREATE_ERROR) return nil, err } return