feat: user info
This commit is contained in:
+431
-82
@@ -1498,6 +1498,234 @@ func (x *InternalVerifyPasswordData) GetBizId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type InternalUsersByBizReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ClientCode string `protobuf:"bytes,1,opt,name=client_code,json=clientCode,proto3" json:"client_code,omitempty"`
|
||||
BizIds []int64 `protobuf:"varint,2,rep,packed,name=biz_ids,json=bizIds,proto3" json:"biz_ids,omitempty"`
|
||||
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||||
Gender uint32 `protobuf:"varint,4,opt,name=gender,proto3" json:"gender,omitempty"`
|
||||
BirthdayGte string `protobuf:"bytes,5,opt,name=birthday_gte,json=birthdayGte,proto3" json:"birthday_gte,omitempty"`
|
||||
BirthdayLte string `protobuf:"bytes,6,opt,name=birthday_lte,json=birthdayLte,proto3" json:"birthday_lte,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) Reset() {
|
||||
*x = InternalUsersByBizReq{}
|
||||
mi := &file_user_user_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*InternalUsersByBizReq) ProtoMessage() {}
|
||||
|
||||
func (x *InternalUsersByBizReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use InternalUsersByBizReq.ProtoReflect.Descriptor instead.
|
||||
func (*InternalUsersByBizReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetClientCode() string {
|
||||
if x != nil {
|
||||
return x.ClientCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetBizIds() []int64 {
|
||||
if x != nil {
|
||||
return x.BizIds
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetKeyword() string {
|
||||
if x != nil {
|
||||
return x.Keyword
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetGender() uint32 {
|
||||
if x != nil {
|
||||
return x.Gender
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetBirthdayGte() string {
|
||||
if x != nil {
|
||||
return x.BirthdayGte
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizReq) GetBirthdayLte() string {
|
||||
if x != nil {
|
||||
return x.BirthdayLte
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type BizUserItem struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
BizId int64 `protobuf:"varint,1,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"`
|
||||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
||||
Gender uint32 `protobuf:"varint,6,opt,name=gender,proto3" json:"gender,omitempty"`
|
||||
Birthday string `protobuf:"bytes,7,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
||||
Status uint32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BizUserItem) Reset() {
|
||||
*x = BizUserItem{}
|
||||
mi := &file_user_user_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BizUserItem) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BizUserItem) ProtoMessage() {}
|
||||
|
||||
func (x *BizUserItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[24]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BizUserItem.ProtoReflect.Descriptor instead.
|
||||
func (*BizUserItem) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetBizId() int64 {
|
||||
if x != nil {
|
||||
return x.BizId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetMobile() string {
|
||||
if x != nil {
|
||||
return x.Mobile
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetAvatar() string {
|
||||
if x != nil {
|
||||
return x.Avatar
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetGender() uint32 {
|
||||
if x != nil {
|
||||
return x.Gender
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetBirthday() string {
|
||||
if x != nil {
|
||||
return x.Birthday
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *BizUserItem) GetStatus() uint32 {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type InternalUsersByBizData struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Items []*BizUserItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizData) Reset() {
|
||||
*x = InternalUsersByBizData{}
|
||||
mi := &file_user_user_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*InternalUsersByBizData) ProtoMessage() {}
|
||||
|
||||
func (x *InternalUsersByBizData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[25]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use InternalUsersByBizData.ProtoReflect.Descriptor instead.
|
||||
func (*InternalUsersByBizData) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *InternalUsersByBizData) GetItems() []*BizUserItem {
|
||||
if x != nil {
|
||||
return x.Items
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetOpenidReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||
@@ -1507,7 +1735,7 @@ type GetOpenidReq struct {
|
||||
|
||||
func (x *GetOpenidReq) Reset() {
|
||||
*x = GetOpenidReq{}
|
||||
mi := &file_user_user_proto_msgTypes[23]
|
||||
mi := &file_user_user_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1519,7 +1747,7 @@ func (x *GetOpenidReq) String() string {
|
||||
func (*GetOpenidReq) ProtoMessage() {}
|
||||
|
||||
func (x *GetOpenidReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[23]
|
||||
mi := &file_user_user_proto_msgTypes[26]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1532,7 +1760,7 @@ func (x *GetOpenidReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetOpenidReq.ProtoReflect.Descriptor instead.
|
||||
func (*GetOpenidReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{23}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *GetOpenidReq) GetCode() string {
|
||||
@@ -1550,7 +1778,7 @@ type InfoReq struct {
|
||||
|
||||
func (x *InfoReq) Reset() {
|
||||
*x = InfoReq{}
|
||||
mi := &file_user_user_proto_msgTypes[24]
|
||||
mi := &file_user_user_proto_msgTypes[27]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1562,7 +1790,7 @@ func (x *InfoReq) String() string {
|
||||
func (*InfoReq) ProtoMessage() {}
|
||||
|
||||
func (x *InfoReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[24]
|
||||
mi := &file_user_user_proto_msgTypes[27]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1575,7 +1803,91 @@ func (x *InfoReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use InfoReq.ProtoReflect.Descriptor instead.
|
||||
func (*InfoReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{24}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{27}
|
||||
}
|
||||
|
||||
type UpdateReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
||||
Gender uint32 `protobuf:"varint,3,opt,name=gender,proto3" json:"gender,omitempty"`
|
||||
Birthday string `protobuf:"bytes,4,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
||||
Mobile string `protobuf:"bytes,5,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
RealName string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateReq) Reset() {
|
||||
*x = UpdateReq{}
|
||||
mi := &file_user_user_proto_msgTypes[28]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateReq) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[28]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UpdateReq.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{28}
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetAvatar() string {
|
||||
if x != nil {
|
||||
return x.Avatar
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetGender() uint32 {
|
||||
if x != nil {
|
||||
return x.Gender
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetBirthday() string {
|
||||
if x != nil {
|
||||
return x.Birthday
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetMobile() string {
|
||||
if x != nil {
|
||||
return x.Mobile
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateReq) GetRealName() string {
|
||||
if x != nil {
|
||||
return x.RealName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type PasswordReq struct {
|
||||
@@ -1588,7 +1900,7 @@ type PasswordReq struct {
|
||||
|
||||
func (x *PasswordReq) Reset() {
|
||||
*x = PasswordReq{}
|
||||
mi := &file_user_user_proto_msgTypes[25]
|
||||
mi := &file_user_user_proto_msgTypes[29]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1600,7 +1912,7 @@ func (x *PasswordReq) String() string {
|
||||
func (*PasswordReq) ProtoMessage() {}
|
||||
|
||||
func (x *PasswordReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[25]
|
||||
mi := &file_user_user_proto_msgTypes[29]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1613,7 +1925,7 @@ func (x *PasswordReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PasswordReq.ProtoReflect.Descriptor instead.
|
||||
func (*PasswordReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{25}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{29}
|
||||
}
|
||||
|
||||
func (x *PasswordReq) GetOldPassword() string {
|
||||
@@ -1641,7 +1953,7 @@ type ClientReq struct {
|
||||
|
||||
func (x *ClientReq) Reset() {
|
||||
*x = ClientReq{}
|
||||
mi := &file_user_user_proto_msgTypes[26]
|
||||
mi := &file_user_user_proto_msgTypes[30]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1653,7 +1965,7 @@ func (x *ClientReq) String() string {
|
||||
func (*ClientReq) ProtoMessage() {}
|
||||
|
||||
func (x *ClientReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[26]
|
||||
mi := &file_user_user_proto_msgTypes[30]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1666,7 +1978,7 @@ func (x *ClientReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ClientReq.ProtoReflect.Descriptor instead.
|
||||
func (*ClientReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{26}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{30}
|
||||
}
|
||||
|
||||
func (x *ClientReq) GetName() string {
|
||||
@@ -1699,7 +2011,7 @@ type GenerateQrcodeReq struct {
|
||||
|
||||
func (x *GenerateQrcodeReq) Reset() {
|
||||
*x = GenerateQrcodeReq{}
|
||||
mi := &file_user_user_proto_msgTypes[27]
|
||||
mi := &file_user_user_proto_msgTypes[31]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1711,7 +2023,7 @@ func (x *GenerateQrcodeReq) String() string {
|
||||
func (*GenerateQrcodeReq) ProtoMessage() {}
|
||||
|
||||
func (x *GenerateQrcodeReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[27]
|
||||
mi := &file_user_user_proto_msgTypes[31]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1724,7 +2036,7 @@ func (x *GenerateQrcodeReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GenerateQrcodeReq.ProtoReflect.Descriptor instead.
|
||||
func (*GenerateQrcodeReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{27}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{31}
|
||||
}
|
||||
|
||||
func (x *GenerateQrcodeReq) GetClientCode() string {
|
||||
@@ -1743,7 +2055,7 @@ type QrcodeScanReq struct {
|
||||
|
||||
func (x *QrcodeScanReq) Reset() {
|
||||
*x = QrcodeScanReq{}
|
||||
mi := &file_user_user_proto_msgTypes[28]
|
||||
mi := &file_user_user_proto_msgTypes[32]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1755,7 +2067,7 @@ func (x *QrcodeScanReq) String() string {
|
||||
func (*QrcodeScanReq) ProtoMessage() {}
|
||||
|
||||
func (x *QrcodeScanReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[28]
|
||||
mi := &file_user_user_proto_msgTypes[32]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1768,7 +2080,7 @@ func (x *QrcodeScanReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use QrcodeScanReq.ProtoReflect.Descriptor instead.
|
||||
func (*QrcodeScanReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{28}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{32}
|
||||
}
|
||||
|
||||
func (x *QrcodeScanReq) GetSessionId() string {
|
||||
@@ -1788,7 +2100,7 @@ type QrcodeLoginReq struct {
|
||||
|
||||
func (x *QrcodeLoginReq) Reset() {
|
||||
*x = QrcodeLoginReq{}
|
||||
mi := &file_user_user_proto_msgTypes[29]
|
||||
mi := &file_user_user_proto_msgTypes[33]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1800,7 +2112,7 @@ func (x *QrcodeLoginReq) String() string {
|
||||
func (*QrcodeLoginReq) ProtoMessage() {}
|
||||
|
||||
func (x *QrcodeLoginReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_user_user_proto_msgTypes[29]
|
||||
mi := &file_user_user_proto_msgTypes[33]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1813,7 +2125,7 @@ func (x *QrcodeLoginReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use QrcodeLoginReq.ProtoReflect.Descriptor instead.
|
||||
func (*QrcodeLoginReq) Descriptor() ([]byte, []int) {
|
||||
return file_user_user_proto_rawDescGZIP(), []int{29}
|
||||
return file_user_user_proto_rawDescGZIP(), []int{33}
|
||||
}
|
||||
|
||||
func (x *QrcodeLoginReq) GetSessionId() string {
|
||||
@@ -1952,10 +2264,36 @@ const file_user_user_proto_rawDesc = "" +
|
||||
"clientCode\"L\n" +
|
||||
"\x1aInternalVerifyPasswordData\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x15\n" +
|
||||
"\x06biz_id\x18\x02 \x01(\x03R\x05bizId\"\"\n" +
|
||||
"\x06biz_id\x18\x02 \x01(\x03R\x05bizId\"\xc9\x01\n" +
|
||||
"\x15InternalUsersByBizReq\x12\x1f\n" +
|
||||
"\vclient_code\x18\x01 \x01(\tR\n" +
|
||||
"clientCode\x12\x17\n" +
|
||||
"\abiz_ids\x18\x02 \x03(\x03R\x06bizIds\x12\x18\n" +
|
||||
"\akeyword\x18\x03 \x01(\tR\akeyword\x12\x16\n" +
|
||||
"\x06gender\x18\x04 \x01(\rR\x06gender\x12!\n" +
|
||||
"\fbirthday_gte\x18\x05 \x01(\tR\vbirthdayGte\x12!\n" +
|
||||
"\fbirthday_lte\x18\x06 \x01(\tR\vbirthdayLte\"\xcd\x01\n" +
|
||||
"\vBizUserItem\x12\x15\n" +
|
||||
"\x06biz_id\x18\x01 \x01(\x03R\x05bizId\x12\x17\n" +
|
||||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x16\n" +
|
||||
"\x06mobile\x18\x03 \x01(\tR\x06mobile\x12\x12\n" +
|
||||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06avatar\x18\x05 \x01(\tR\x06avatar\x12\x16\n" +
|
||||
"\x06gender\x18\x06 \x01(\rR\x06gender\x12\x1a\n" +
|
||||
"\bbirthday\x18\a \x01(\tR\bbirthday\x12\x16\n" +
|
||||
"\x06status\x18\b \x01(\rR\x06status\"A\n" +
|
||||
"\x16InternalUsersByBizData\x12'\n" +
|
||||
"\x05items\x18\x01 \x03(\v2\x11.user.BizUserItemR\x05items\"\"\n" +
|
||||
"\fGetOpenidReq\x12\x12\n" +
|
||||
"\x04code\x18\x01 \x01(\tR\x04code\"\t\n" +
|
||||
"\aInfoReq\"L\n" +
|
||||
"\aInfoReq\"\xa0\x01\n" +
|
||||
"\tUpdateReq\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06avatar\x18\x02 \x01(\tR\x06avatar\x12\x16\n" +
|
||||
"\x06gender\x18\x03 \x01(\rR\x06gender\x12\x1a\n" +
|
||||
"\bbirthday\x18\x04 \x01(\tR\bbirthday\x12\x16\n" +
|
||||
"\x06mobile\x18\x05 \x01(\tR\x06mobile\x12\x1b\n" +
|
||||
"\treal_name\x18\x06 \x01(\tR\brealName\"L\n" +
|
||||
"\vPasswordReq\x12!\n" +
|
||||
"\fold_password\x18\x01 \x01(\tR\voldPassword\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\"V\n" +
|
||||
@@ -1972,16 +2310,17 @@ const file_user_user_proto_rawDesc = "" +
|
||||
"\x0eQrcodeLoginReq\x12\x1d\n" +
|
||||
"\n" +
|
||||
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type2\xa5\f\n" +
|
||||
"\x04User\x12A\n" +
|
||||
"\x05Login\x12\x0e.user.LoginReq\x1a\x0e.user.Response\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/v3/login\x12b\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type2\xc4\r\n" +
|
||||
"\x04User\x12F\n" +
|
||||
"\x05Login\x12\x0e.user.LoginReq\x1a\x0e.user.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/user/login\x12b\n" +
|
||||
"\x0eGenerateQrcode\x12\x17.user.GenerateQrcodeReq\x1a\x0e.user.Response\"'\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/api/v3/user/qrcode/generate\x12V\n" +
|
||||
"\n" +
|
||||
"QrcodeScan\x12\x13.user.QrcodeScanReq\x1a\x0e.user.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v3/user/qrcode/scan\x12Y\n" +
|
||||
"\vQrcodeLogin\x12\x14.user.QrcodeLoginReq\x1a\x0e.user.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/v3/user/qrcode/login\x12C\n" +
|
||||
"\x04Info\x12\r.user.InfoReq\x1a\x0e.user.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\x12\x11/api/v3/user/info\x12O\n" +
|
||||
"\bPassword\x12\x11.user.PasswordReq\x1a\x0e.user.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/v3/user/password\x12N\n" +
|
||||
"\tGetOpenid\x12\x12.user.GetOpenidReq\x1a\x0e.user.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/getuseroid\x12K\n" +
|
||||
"\x04Info\x12\r.user.InfoReq\x1a\x0e.user.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\x12\x11/api/v3/user/info\x12B\n" +
|
||||
"\x06Update\x12\x0f.user.UpdateReq\x1a\x0e.user.Response\"\x17\x82\xd3\xe4\x93\x02\x11:\x01*\x1a\f/api/v3/user\x12O\n" +
|
||||
"\bPassword\x12\x11.user.PasswordReq\x1a\x0e.user.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/v3/user/password\x12S\n" +
|
||||
"\tGetOpenid\x12\x12.user.GetOpenidReq\x1a\x0e.user.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/api/v3/user/getuseroid\x12K\n" +
|
||||
"\x06Client\x12\x0f.user.ClientReq\x1a\x0e.user.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/user/client\x12P\n" +
|
||||
"\tUserItems\x12\x12.user.UserItemsReq\x1a\x0e.user.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/user/items\x12S\n" +
|
||||
"\n" +
|
||||
@@ -1994,7 +2333,8 @@ const file_user_user_proto_rawDesc = "" +
|
||||
"\x14InternalUpdateMobile\x12\x1d.user.InternalUpdateMobileReq\x1a\x1e.user.InternalUpdateMobileData\x12^\n" +
|
||||
"\x17InternalRevokeBizClient\x12 .user.InternalRevokeBizClientReq\x1a!.user.InternalRevokeBizClientData\x12R\n" +
|
||||
"\x13InternalGetUserInfo\x12\x1c.user.InternalGetUserInfoReq\x1a\x1d.user.InternalGetUserInfoData\x12[\n" +
|
||||
"\x16InternalVerifyPassword\x12\x1f.user.InternalVerifyPasswordReq\x1a .user.InternalVerifyPasswordDataB\x18Z\x16lone-services/rpc/userb\x06proto3"
|
||||
"\x16InternalVerifyPassword\x12\x1f.user.InternalVerifyPasswordReq\x1a .user.InternalVerifyPasswordData\x12O\n" +
|
||||
"\x12InternalUsersByBiz\x12\x1b.user.InternalUsersByBizReq\x1a\x1c.user.InternalUsersByBizDataB\x18Z\x16lone-services/rpc/userb\x06proto3"
|
||||
|
||||
var (
|
||||
file_user_user_proto_rawDescOnce sync.Once
|
||||
@@ -2008,7 +2348,7 @@ func file_user_user_proto_rawDescGZIP() []byte {
|
||||
return file_user_user_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
||||
var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
|
||||
var file_user_user_proto_goTypes = []any{
|
||||
(*Response)(nil), // 0: user.Response
|
||||
(*LoginReq)(nil), // 1: user.LoginReq
|
||||
@@ -2033,59 +2373,68 @@ var file_user_user_proto_goTypes = []any{
|
||||
(*InternalGetUserInfoData)(nil), // 20: user.InternalGetUserInfoData
|
||||
(*InternalVerifyPasswordReq)(nil), // 21: user.InternalVerifyPasswordReq
|
||||
(*InternalVerifyPasswordData)(nil), // 22: user.InternalVerifyPasswordData
|
||||
(*GetOpenidReq)(nil), // 23: user.GetOpenidReq
|
||||
(*InfoReq)(nil), // 24: user.InfoReq
|
||||
(*PasswordReq)(nil), // 25: user.PasswordReq
|
||||
(*ClientReq)(nil), // 26: user.ClientReq
|
||||
(*GenerateQrcodeReq)(nil), // 27: user.GenerateQrcodeReq
|
||||
(*QrcodeScanReq)(nil), // 28: user.QrcodeScanReq
|
||||
(*QrcodeLoginReq)(nil), // 29: user.QrcodeLoginReq
|
||||
(*InternalUsersByBizReq)(nil), // 23: user.InternalUsersByBizReq
|
||||
(*BizUserItem)(nil), // 24: user.BizUserItem
|
||||
(*InternalUsersByBizData)(nil), // 25: user.InternalUsersByBizData
|
||||
(*GetOpenidReq)(nil), // 26: user.GetOpenidReq
|
||||
(*InfoReq)(nil), // 27: user.InfoReq
|
||||
(*UpdateReq)(nil), // 28: user.UpdateReq
|
||||
(*PasswordReq)(nil), // 29: user.PasswordReq
|
||||
(*ClientReq)(nil), // 30: user.ClientReq
|
||||
(*GenerateQrcodeReq)(nil), // 31: user.GenerateQrcodeReq
|
||||
(*QrcodeScanReq)(nil), // 32: user.QrcodeScanReq
|
||||
(*QrcodeLoginReq)(nil), // 33: user.QrcodeLoginReq
|
||||
}
|
||||
var file_user_user_proto_depIdxs = []int32{
|
||||
7, // 0: user.InternalUsersByIdsData.items:type_name -> user.UserBriefItem
|
||||
1, // 1: user.User.Login:input_type -> user.LoginReq
|
||||
27, // 2: user.User.GenerateQrcode:input_type -> user.GenerateQrcodeReq
|
||||
28, // 3: user.User.QrcodeScan:input_type -> user.QrcodeScanReq
|
||||
29, // 4: user.User.QrcodeLogin:input_type -> user.QrcodeLoginReq
|
||||
24, // 5: user.User.Info:input_type -> user.InfoReq
|
||||
25, // 6: user.User.Password:input_type -> user.PasswordReq
|
||||
23, // 7: user.User.GetOpenid:input_type -> user.GetOpenidReq
|
||||
26, // 8: user.User.Client:input_type -> user.ClientReq
|
||||
2, // 9: user.User.UserItems:input_type -> user.UserItemsReq
|
||||
3, // 10: user.User.UserStatus:input_type -> user.UserStatusReq
|
||||
4, // 11: user.User.InternalCreate:input_type -> user.InternalCreateReq
|
||||
13, // 12: user.User.InternalCheckCreate:input_type -> user.InternalCheckCreateReq
|
||||
15, // 13: user.User.InternalCheckUpdate:input_type -> user.InternalCheckUpdateReq
|
||||
17, // 14: user.User.InternalUpdate:input_type -> user.InternalUpdateReq
|
||||
6, // 15: user.User.InternalUsersByIds:input_type -> user.InternalUsersByIdsReq
|
||||
9, // 16: user.User.InternalUpdateMobile:input_type -> user.InternalUpdateMobileReq
|
||||
11, // 17: user.User.InternalRevokeBizClient:input_type -> user.InternalRevokeBizClientReq
|
||||
19, // 18: user.User.InternalGetUserInfo:input_type -> user.InternalGetUserInfoReq
|
||||
21, // 19: user.User.InternalVerifyPassword:input_type -> user.InternalVerifyPasswordReq
|
||||
0, // 20: user.User.Login:output_type -> user.Response
|
||||
0, // 21: user.User.GenerateQrcode:output_type -> user.Response
|
||||
0, // 22: user.User.QrcodeScan:output_type -> user.Response
|
||||
0, // 23: user.User.QrcodeLogin:output_type -> user.Response
|
||||
0, // 24: user.User.Info:output_type -> user.Response
|
||||
0, // 25: user.User.Password:output_type -> user.Response
|
||||
0, // 26: user.User.GetOpenid:output_type -> user.Response
|
||||
0, // 27: user.User.Client:output_type -> user.Response
|
||||
0, // 28: user.User.UserItems:output_type -> user.Response
|
||||
0, // 29: user.User.UserStatus:output_type -> user.Response
|
||||
5, // 30: user.User.InternalCreate:output_type -> user.InternalCreateData
|
||||
14, // 31: user.User.InternalCheckCreate:output_type -> user.InternalCheckCreateData
|
||||
16, // 32: user.User.InternalCheckUpdate:output_type -> user.InternalCheckUpdateData
|
||||
18, // 33: user.User.InternalUpdate:output_type -> user.InternalUpdateData
|
||||
8, // 34: user.User.InternalUsersByIds:output_type -> user.InternalUsersByIdsData
|
||||
10, // 35: user.User.InternalUpdateMobile:output_type -> user.InternalUpdateMobileData
|
||||
12, // 36: user.User.InternalRevokeBizClient:output_type -> user.InternalRevokeBizClientData
|
||||
20, // 37: user.User.InternalGetUserInfo:output_type -> user.InternalGetUserInfoData
|
||||
22, // 38: user.User.InternalVerifyPassword:output_type -> user.InternalVerifyPasswordData
|
||||
20, // [20:39] is the sub-list for method output_type
|
||||
1, // [1:20] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
24, // 1: user.InternalUsersByBizData.items:type_name -> user.BizUserItem
|
||||
1, // 2: user.User.Login:input_type -> user.LoginReq
|
||||
31, // 3: user.User.GenerateQrcode:input_type -> user.GenerateQrcodeReq
|
||||
32, // 4: user.User.QrcodeScan:input_type -> user.QrcodeScanReq
|
||||
33, // 5: user.User.QrcodeLogin:input_type -> user.QrcodeLoginReq
|
||||
27, // 6: user.User.Info:input_type -> user.InfoReq
|
||||
28, // 7: user.User.Update:input_type -> user.UpdateReq
|
||||
29, // 8: user.User.Password:input_type -> user.PasswordReq
|
||||
26, // 9: user.User.GetOpenid:input_type -> user.GetOpenidReq
|
||||
30, // 10: user.User.Client:input_type -> user.ClientReq
|
||||
2, // 11: user.User.UserItems:input_type -> user.UserItemsReq
|
||||
3, // 12: user.User.UserStatus:input_type -> user.UserStatusReq
|
||||
4, // 13: user.User.InternalCreate:input_type -> user.InternalCreateReq
|
||||
13, // 14: user.User.InternalCheckCreate:input_type -> user.InternalCheckCreateReq
|
||||
15, // 15: user.User.InternalCheckUpdate:input_type -> user.InternalCheckUpdateReq
|
||||
17, // 16: user.User.InternalUpdate:input_type -> user.InternalUpdateReq
|
||||
6, // 17: user.User.InternalUsersByIds:input_type -> user.InternalUsersByIdsReq
|
||||
9, // 18: user.User.InternalUpdateMobile:input_type -> user.InternalUpdateMobileReq
|
||||
11, // 19: user.User.InternalRevokeBizClient:input_type -> user.InternalRevokeBizClientReq
|
||||
19, // 20: user.User.InternalGetUserInfo:input_type -> user.InternalGetUserInfoReq
|
||||
21, // 21: user.User.InternalVerifyPassword:input_type -> user.InternalVerifyPasswordReq
|
||||
23, // 22: user.User.InternalUsersByBiz:input_type -> user.InternalUsersByBizReq
|
||||
0, // 23: user.User.Login:output_type -> user.Response
|
||||
0, // 24: user.User.GenerateQrcode:output_type -> user.Response
|
||||
0, // 25: user.User.QrcodeScan:output_type -> user.Response
|
||||
0, // 26: user.User.QrcodeLogin:output_type -> user.Response
|
||||
0, // 27: user.User.Info:output_type -> user.Response
|
||||
0, // 28: user.User.Update:output_type -> user.Response
|
||||
0, // 29: user.User.Password:output_type -> user.Response
|
||||
0, // 30: user.User.GetOpenid:output_type -> user.Response
|
||||
0, // 31: user.User.Client:output_type -> user.Response
|
||||
0, // 32: user.User.UserItems:output_type -> user.Response
|
||||
0, // 33: user.User.UserStatus:output_type -> user.Response
|
||||
5, // 34: user.User.InternalCreate:output_type -> user.InternalCreateData
|
||||
14, // 35: user.User.InternalCheckCreate:output_type -> user.InternalCheckCreateData
|
||||
16, // 36: user.User.InternalCheckUpdate:output_type -> user.InternalCheckUpdateData
|
||||
18, // 37: user.User.InternalUpdate:output_type -> user.InternalUpdateData
|
||||
8, // 38: user.User.InternalUsersByIds:output_type -> user.InternalUsersByIdsData
|
||||
10, // 39: user.User.InternalUpdateMobile:output_type -> user.InternalUpdateMobileData
|
||||
12, // 40: user.User.InternalRevokeBizClient:output_type -> user.InternalRevokeBizClientData
|
||||
20, // 41: user.User.InternalGetUserInfo:output_type -> user.InternalGetUserInfoData
|
||||
22, // 42: user.User.InternalVerifyPassword:output_type -> user.InternalVerifyPasswordData
|
||||
25, // 43: user.User.InternalUsersByBiz:output_type -> user.InternalUsersByBizData
|
||||
23, // [23:44] is the sub-list for method output_type
|
||||
2, // [2:23] is the sub-list for method input_type
|
||||
2, // [2:2] is the sub-list for extension type_name
|
||||
2, // [2:2] is the sub-list for extension extendee
|
||||
0, // [0:2] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_user_user_proto_init() }
|
||||
@@ -2099,7 +2448,7 @@ func file_user_user_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_user_proto_rawDesc), len(file_user_user_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 30,
|
||||
NumMessages: 34,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user