From 915371e6ad9fc9b10e01528a78dacec47c35a735 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 26 Dec 2023 15:20:08 +0800 Subject: [PATCH] by Robin at 20231226; username --- app/mix/service/utilservice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mix/service/utilservice.go b/app/mix/service/utilservice.go index 43f16a7d..ba8fcd0b 100644 --- a/app/mix/service/utilservice.go +++ b/app/mix/service/utilservice.go @@ -39,7 +39,7 @@ func (s *Service) utilRegisterUser(ctx *gin.Context, req *loginproto.MobilePhone return } account.UserId = goproto.Int64(userIdSeq.UserId) - account.Name = goproto.String(fmt.Sprintf("user_%v", userIdSeq.UserId)) + account.Name = goproto.String(fmt.Sprintf("用户%v", userIdSeq.UserId)) account.MobilePhone = goproto.String(req.MobilePhone) account.RegionCode = goproto.String(req.RegionCode) account.PhoneHash = goproto.String(req.PhoneHash)