|
@@ -22,6 +22,124 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+type GetUserMsgByKeyRequest struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyRequest) Reset() {
|
|
|
|
|
+ *x = GetUserMsgByKeyRequest{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[0]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyRequest) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*GetUserMsgByKeyRequest) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[0]
|
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use GetUserMsgByKeyRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*GetUserMsgByKeyRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_wx_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyRequest) GetKey() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Key
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type GetUserMsgByKeyReply struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ PartnerId string `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`
|
|
|
|
|
+ OpenId string `protobuf:"bytes,2,opt,name=openId,proto3" json:"openId"`
|
|
|
|
|
+ AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId"`
|
|
|
|
|
+ AppName string `protobuf:"bytes,4,opt,name=appName,proto3" json:"appName"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) Reset() {
|
|
|
|
|
+ *x = GetUserMsgByKeyReply{}
|
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[1]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*GetUserMsgByKeyReply) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[1]
|
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use GetUserMsgByKeyReply.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*GetUserMsgByKeyReply) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_wx_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) GetPartnerId() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.PartnerId
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) GetOpenId() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.OpenId
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) GetAppId() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.AppId
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *GetUserMsgByKeyReply) GetAppName() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.AppName
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type ReduceUserUnreadRequest struct {
|
|
type ReduceUserUnreadRequest struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -34,7 +152,7 @@ type ReduceUserUnreadRequest struct {
|
|
|
func (x *ReduceUserUnreadRequest) Reset() {
|
|
func (x *ReduceUserUnreadRequest) Reset() {
|
|
|
*x = ReduceUserUnreadRequest{}
|
|
*x = ReduceUserUnreadRequest{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_wx_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -47,7 +165,7 @@ func (x *ReduceUserUnreadRequest) String() string {
|
|
|
func (*ReduceUserUnreadRequest) ProtoMessage() {}
|
|
func (*ReduceUserUnreadRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
|
|
func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_wx_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -60,7 +178,7 @@ func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use ReduceUserUnreadRequest.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use ReduceUserUnreadRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*ReduceUserUnreadRequest) Descriptor() ([]byte, []int) {
|
|
func (*ReduceUserUnreadRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_wx_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
|
+ return file_wx_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *ReduceUserUnreadRequest) GetAccountId() int64 {
|
|
func (x *ReduceUserUnreadRequest) GetAccountId() int64 {
|
|
@@ -89,7 +207,7 @@ type SendNewMessageUnreadReminderRequest struct {
|
|
|
func (x *SendNewMessageUnreadReminderRequest) Reset() {
|
|
func (x *SendNewMessageUnreadReminderRequest) Reset() {
|
|
|
*x = SendNewMessageUnreadReminderRequest{}
|
|
*x = SendNewMessageUnreadReminderRequest{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_wx_proto_msgTypes[1]
|
|
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -102,7 +220,7 @@ func (x *SendNewMessageUnreadReminderRequest) String() string {
|
|
|
func (*SendNewMessageUnreadReminderRequest) ProtoMessage() {}
|
|
func (*SendNewMessageUnreadReminderRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Message {
|
|
func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_wx_proto_msgTypes[1]
|
|
|
|
|
|
|
+ mi := &file_wx_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -115,7 +233,7 @@ func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Messag
|
|
|
|
|
|
|
|
// Deprecated: Use SendNewMessageUnreadReminderRequest.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use SendNewMessageUnreadReminderRequest.ProtoReflect.Descriptor instead.
|
|
|
func (*SendNewMessageUnreadReminderRequest) Descriptor() ([]byte, []int) {
|
|
func (*SendNewMessageUnreadReminderRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_wx_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
|
|
+ return file_wx_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *SendNewMessageUnreadReminderRequest) GetPersonId() string {
|
|
func (x *SendNewMessageUnreadReminderRequest) GetPersonId() string {
|
|
@@ -139,49 +257,65 @@ var file_wx_proto_rawDesc = []byte{
|
|
|
0x77, 0x78, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x77, 0x78, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
|
|
0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
|
|
|
- 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x64, 0x75,
|
|
|
|
|
- 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
- 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
|
|
|
|
|
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
|
|
|
|
|
- 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x65, 0x0a,
|
|
|
|
|
- 0x23, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55,
|
|
|
|
|
- 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
|
|
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
|
|
|
|
|
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
|
|
|
|
|
- 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
|
|
|
|
|
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73,
|
|
|
|
|
- 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xa1, 0x03, 0x0a, 0x02, 0x57, 0x78, 0x12, 0x42, 0x0a, 0x0e, 0x43,
|
|
|
|
|
- 0x72, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e,
|
|
|
|
|
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
|
|
|
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
|
|
|
|
|
- 0x4a, 0x0a, 0x16, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x72, 0x65, 0x61,
|
|
|
|
|
- 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
|
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
|
|
|
- 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
|
- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1c, 0x53,
|
|
|
|
|
|
|
+ 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55,
|
|
|
|
|
+ 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
+ 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
+ 0x03, 0x6b, 0x65, 0x79, 0x22, 0x7c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d,
|
|
|
|
|
+ 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
|
|
+ 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
+ 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70,
|
|
|
|
|
+ 0x65, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e,
|
|
|
|
|
+ 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
+ 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x4e,
|
|
|
|
|
+ 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61,
|
|
|
|
|
+ 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
+ 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,
|
|
|
|
|
+ 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
+ 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70,
|
|
|
|
|
+ 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
|
|
|
|
|
+ 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x65, 0x0a, 0x23, 0x53, 0x65, 0x6e, 0x64, 0x4e,
|
|
|
|
|
+ 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52,
|
|
|
|
|
+ 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
|
|
|
|
+ 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
+ 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65,
|
|
|
|
|
+ 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
+ 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xf4,
|
|
|
|
|
+ 0x03, 0x0a, 0x02, 0x57, 0x78, 0x12, 0x42, 0x0a, 0x0e, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x69, 0x67,
|
|
|
|
|
+ 0x6e, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
|
|
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
|
|
|
|
|
+ 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
|
+ 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x16, 0x43, 0x72, 0x6f,
|
|
|
|
|
+ 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c,
|
|
|
|
|
+ 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
|
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
|
|
|
|
|
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
|
|
|
|
|
+ 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77,
|
|
|
|
|
+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d,
|
|
|
|
|
+ 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x53,
|
|
|
0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72,
|
|
0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72,
|
|
|
- 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x61, 0x70,
|
|
|
|
|
- 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73,
|
|
|
|
|
- 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65,
|
|
|
|
|
- 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
|
|
|
|
|
+ 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
+ 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
|
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x1e,
|
|
|
|
|
+ 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x56, 0x69, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x54, 0x65,
|
|
|
|
|
+ 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19,
|
|
|
|
|
+ 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73,
|
|
|
|
|
+ 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
|
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
|
|
|
+ 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65,
|
|
|
|
|
+ 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78,
|
|
|
|
|
+ 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61,
|
|
|
|
|
+ 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
- 0x22, 0x00, 0x12, 0x55, 0x0a, 0x1e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x56, 0x69, 0x73,
|
|
|
|
|
- 0x69, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x69,
|
|
|
|
|
- 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
|
|
|
|
|
- 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a,
|
|
|
|
|
- 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
|
- 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10, 0x52, 0x65, 0x64,
|
|
|
|
|
- 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1f, 0x2e,
|
|
|
|
|
- 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65,
|
|
|
|
|
- 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
|
|
|
|
|
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
|
|
|
- 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x37, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x2e,
|
|
|
|
|
- 0x77, 0x78, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e,
|
|
|
|
|
- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70,
|
|
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x78, 0x3b, 0x77,
|
|
|
|
|
- 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
+ 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67,
|
|
|
|
|
+ 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x47,
|
|
|
|
|
+ 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65,
|
|
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x47,
|
|
|
|
|
+ 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65,
|
|
|
|
|
+ 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x37, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x78, 0x50,
|
|
|
|
|
+ 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f,
|
|
|
|
|
+ 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
|
+ 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x78, 0x3b, 0x77, 0x78, 0x62, 0x06,
|
|
|
|
|
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -196,26 +330,30 @@ func file_wx_proto_rawDescGZIP() []byte {
|
|
|
return file_wx_proto_rawDescData
|
|
return file_wx_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
|
|
|
+var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
var file_wx_proto_goTypes = []interface{}{
|
|
var file_wx_proto_goTypes = []interface{}{
|
|
|
- (*ReduceUserUnreadRequest)(nil), // 0: api.wx.ReduceUserUnreadRequest
|
|
|
|
|
- (*SendNewMessageUnreadReminderRequest)(nil), // 1: api.wx.SendNewMessageUnreadReminderRequest
|
|
|
|
|
- (*emptypb.Empty)(nil), // 2: google.protobuf.Empty
|
|
|
|
|
- (*common.PersonIDParam)(nil), // 3: api.common.PersonIDParam
|
|
|
|
|
|
|
+ (*GetUserMsgByKeyRequest)(nil), // 0: api.wx.GetUserMsgByKeyRequest
|
|
|
|
|
+ (*GetUserMsgByKeyReply)(nil), // 1: api.wx.GetUserMsgByKeyReply
|
|
|
|
|
+ (*ReduceUserUnreadRequest)(nil), // 2: api.wx.ReduceUserUnreadRequest
|
|
|
|
|
+ (*SendNewMessageUnreadReminderRequest)(nil), // 3: api.wx.SendNewMessageUnreadReminderRequest
|
|
|
|
|
+ (*emptypb.Empty)(nil), // 4: google.protobuf.Empty
|
|
|
|
|
+ (*common.PersonIDParam)(nil), // 5: api.common.PersonIDParam
|
|
|
}
|
|
}
|
|
|
var file_wx_proto_depIdxs = []int32{
|
|
var file_wx_proto_depIdxs = []int32{
|
|
|
- 2, // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
|
|
|
|
|
- 2, // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
|
|
|
|
|
- 1, // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
|
|
|
|
|
- 3, // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
|
|
|
|
|
- 0, // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
|
|
|
|
|
- 2, // 5: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
|
|
|
|
|
- 2, // 6: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
|
|
|
|
|
- 2, // 7: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
|
|
|
|
|
- 2, // 8: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
|
|
|
|
|
- 2, // 9: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
|
|
|
|
|
- 5, // [5:10] is the sub-list for method output_type
|
|
|
|
|
- 0, // [0:5] is the sub-list for method input_type
|
|
|
|
|
|
|
+ 4, // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
|
|
|
|
|
+ 4, // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
|
|
|
|
|
+ 3, // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
|
|
|
|
|
+ 5, // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
|
|
|
|
|
+ 2, // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
|
|
|
|
|
+ 0, // 5: api.wx.Wx.GetUserMsgByKey:input_type -> api.wx.GetUserMsgByKeyRequest
|
|
|
|
|
+ 4, // 6: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 4, // 7: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 4, // 8: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 4, // 9: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 4, // 10: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
|
|
|
|
|
+ 1, // 11: api.wx.Wx.GetUserMsgByKey:output_type -> api.wx.GetUserMsgByKeyReply
|
|
|
|
|
+ 6, // [6:12] is the sub-list for method output_type
|
|
|
|
|
+ 0, // [0:6] is the sub-list for method input_type
|
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
|
0, // [0:0] is the sub-list for field type_name
|
|
0, // [0:0] is the sub-list for field type_name
|
|
@@ -228,7 +366,7 @@ func file_wx_proto_init() {
|
|
|
}
|
|
}
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_wx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
file_wx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*ReduceUserUnreadRequest); i {
|
|
|
|
|
|
|
+ switch v := v.(*GetUserMsgByKeyRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
|
case 1:
|
|
case 1:
|
|
@@ -240,6 +378,30 @@ func file_wx_proto_init() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
file_wx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
file_wx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*GetUserMsgByKeyReply); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_wx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
+ switch v := v.(*ReduceUserUnreadRequest); i {
|
|
|
|
|
+ case 0:
|
|
|
|
|
+ return &v.state
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return &v.sizeCache
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ return &v.unknownFields
|
|
|
|
|
+ default:
|
|
|
|
|
+ return nil
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ file_wx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*SendNewMessageUnreadReminderRequest); i {
|
|
switch v := v.(*SendNewMessageUnreadReminderRequest); i {
|
|
|
case 0:
|
|
case 0:
|
|
|
return &v.state
|
|
return &v.state
|
|
@@ -258,7 +420,7 @@ func file_wx_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_wx_proto_rawDesc,
|
|
RawDescriptor: file_wx_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
|
- NumMessages: 2,
|
|
|
|
|
|
|
+ NumMessages: 4,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
NumServices: 1,
|
|
|
},
|
|
},
|