feat: analysis user auth and ws

This commit is contained in:
zzw
2026-10-15 09:23:07 +08:00
parent 6fa185003d
commit a65b6d2803
102 changed files with 4966 additions and 786 deletions
@@ -8,7 +8,7 @@ import (
"lone-services/services/store/internal/model"
"strconv"
"lone-services/rpc/store/pb"
store "lone-services/rpc/store/pb"
"lone-services/services/store/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
@@ -46,7 +46,7 @@ func (l *GetInfoByIdLogic) GetInfoById(in *store.IdRequest) (*store.InfoResponse
if info.Id > utils.NumberZero {
mobile, dErr := utils.DecryptPhone(info.UserMobile)
if dErr == nil {
if dErr != nil {
return nil, status.Error(codes.Internal, utils.ErrorEncryptAesError.Msg)
}
info.UserMobile = mobile