Browse Source

SendAIReplyRequest

wfz 2 năm trước cách đây
mục cha
commit
097617db3a
5 tập tin đã thay đổi với 210 bổ sung74 xóa
  1. 161 73
      api/wx/wx.pb.go
  2. 7 0
      api/wx/wx.proto
  3. 36 0
      api/wx/wx_grpc.pb.go
  4. 1 1
      js/api/wx/wx_http_pb.ts
  5. 5 0
      js/api/wx/wx_pb.ts

+ 161 - 73
api/wx/wx.pb.go

@@ -24,6 +24,69 @@ const (
 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 )
 
+type SendAIReplyRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
+	RobotId  int64  `protobuf:"varint,3,opt,name=robotId,proto3" json:"robotId"`
+}
+
+func (x *SendAIReplyRequest) Reset() {
+	*x = SendAIReplyRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_wx_proto_msgTypes[0]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *SendAIReplyRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SendAIReplyRequest) ProtoMessage() {}
+
+func (x *SendAIReplyRequest) 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 SendAIReplyRequest.ProtoReflect.Descriptor instead.
+func (*SendAIReplyRequest) Descriptor() ([]byte, []int) {
+	return file_wx_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *SendAIReplyRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *SendAIReplyRequest) GetName() string {
+	if x != nil {
+		return x.Name
+	}
+	return ""
+}
+
+func (x *SendAIReplyRequest) GetRobotId() int64 {
+	if x != nil {
+		return x.RobotId
+	}
+	return 0
+}
+
 type OpenIDRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -35,7 +98,7 @@ type OpenIDRequest struct {
 func (x *OpenIDRequest) Reset() {
 	*x = OpenIDRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[0]
+		mi := &file_wx_proto_msgTypes[1]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -48,7 +111,7 @@ func (x *OpenIDRequest) String() string {
 func (*OpenIDRequest) ProtoMessage() {}
 
 func (x *OpenIDRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[0]
+	mi := &file_wx_proto_msgTypes[1]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -61,7 +124,7 @@ func (x *OpenIDRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use OpenIDRequest.ProtoReflect.Descriptor instead.
 func (*OpenIDRequest) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{0}
+	return file_wx_proto_rawDescGZIP(), []int{1}
 }
 
 func (x *OpenIDRequest) GetOpenId() string {
@@ -82,7 +145,7 @@ type GetAccessTokenRequest struct {
 func (x *GetAccessTokenRequest) Reset() {
 	*x = GetAccessTokenRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[1]
+		mi := &file_wx_proto_msgTypes[2]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -95,7 +158,7 @@ func (x *GetAccessTokenRequest) String() string {
 func (*GetAccessTokenRequest) ProtoMessage() {}
 
 func (x *GetAccessTokenRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[1]
+	mi := &file_wx_proto_msgTypes[2]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -108,7 +171,7 @@ func (x *GetAccessTokenRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetAccessTokenRequest.ProtoReflect.Descriptor instead.
 func (*GetAccessTokenRequest) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{1}
+	return file_wx_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *GetAccessTokenRequest) GetAppid() string {
@@ -132,7 +195,7 @@ type GetAccessTokenReply struct {
 func (x *GetAccessTokenReply) Reset() {
 	*x = GetAccessTokenReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[2]
+		mi := &file_wx_proto_msgTypes[3]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -145,7 +208,7 @@ func (x *GetAccessTokenReply) String() string {
 func (*GetAccessTokenReply) ProtoMessage() {}
 
 func (x *GetAccessTokenReply) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[2]
+	mi := &file_wx_proto_msgTypes[3]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -158,7 +221,7 @@ func (x *GetAccessTokenReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetAccessTokenReply.ProtoReflect.Descriptor instead.
 func (*GetAccessTokenReply) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{2}
+	return file_wx_proto_rawDescGZIP(), []int{3}
 }
 
 func (x *GetAccessTokenReply) GetAccessToken() string {
@@ -200,7 +263,7 @@ type GetUserMsgByKeyRequest struct {
 func (x *GetUserMsgByKeyRequest) Reset() {
 	*x = GetUserMsgByKeyRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[3]
+		mi := &file_wx_proto_msgTypes[4]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -213,7 +276,7 @@ func (x *GetUserMsgByKeyRequest) String() string {
 func (*GetUserMsgByKeyRequest) ProtoMessage() {}
 
 func (x *GetUserMsgByKeyRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[3]
+	mi := &file_wx_proto_msgTypes[4]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -226,7 +289,7 @@ func (x *GetUserMsgByKeyRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetUserMsgByKeyRequest.ProtoReflect.Descriptor instead.
 func (*GetUserMsgByKeyRequest) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{3}
+	return file_wx_proto_rawDescGZIP(), []int{4}
 }
 
 func (x *GetUserMsgByKeyRequest) GetKey() string {
@@ -250,7 +313,7 @@ type GetUserMsgByKeyReply struct {
 func (x *GetUserMsgByKeyReply) Reset() {
 	*x = GetUserMsgByKeyReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[4]
+		mi := &file_wx_proto_msgTypes[5]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -263,7 +326,7 @@ func (x *GetUserMsgByKeyReply) String() string {
 func (*GetUserMsgByKeyReply) ProtoMessage() {}
 
 func (x *GetUserMsgByKeyReply) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[4]
+	mi := &file_wx_proto_msgTypes[5]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -276,7 +339,7 @@ func (x *GetUserMsgByKeyReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetUserMsgByKeyReply.ProtoReflect.Descriptor instead.
 func (*GetUserMsgByKeyReply) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{4}
+	return file_wx_proto_rawDescGZIP(), []int{5}
 }
 
 func (x *GetUserMsgByKeyReply) GetPartnerId() string {
@@ -319,7 +382,7 @@ type ReduceUserUnreadRequest struct {
 func (x *ReduceUserUnreadRequest) Reset() {
 	*x = ReduceUserUnreadRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[5]
+		mi := &file_wx_proto_msgTypes[6]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -332,7 +395,7 @@ func (x *ReduceUserUnreadRequest) String() string {
 func (*ReduceUserUnreadRequest) ProtoMessage() {}
 
 func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[5]
+	mi := &file_wx_proto_msgTypes[6]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -345,7 +408,7 @@ func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use ReduceUserUnreadRequest.ProtoReflect.Descriptor instead.
 func (*ReduceUserUnreadRequest) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{5}
+	return file_wx_proto_rawDescGZIP(), []int{6}
 }
 
 func (x *ReduceUserUnreadRequest) GetAccountId() int64 {
@@ -374,7 +437,7 @@ type SendNewMessageUnreadReminderRequest struct {
 func (x *SendNewMessageUnreadReminderRequest) Reset() {
 	*x = SendNewMessageUnreadReminderRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_wx_proto_msgTypes[6]
+		mi := &file_wx_proto_msgTypes[7]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -387,7 +450,7 @@ func (x *SendNewMessageUnreadReminderRequest) String() string {
 func (*SendNewMessageUnreadReminderRequest) ProtoMessage() {}
 
 func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_wx_proto_msgTypes[6]
+	mi := &file_wx_proto_msgTypes[7]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -400,7 +463,7 @@ func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Messag
 
 // Deprecated: Use SendNewMessageUnreadReminderRequest.ProtoReflect.Descriptor instead.
 func (*SendNewMessageUnreadReminderRequest) Descriptor() ([]byte, []int) {
-	return file_wx_proto_rawDescGZIP(), []int{6}
+	return file_wx_proto_rawDescGZIP(), []int{7}
 }
 
 func (x *SendNewMessageUnreadReminderRequest) GetPersonId() string {
@@ -428,7 +491,13 @@ var file_wx_proto_rawDesc = []byte{
 	0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
 	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f,
 	0x75, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
-	0x6f, 0x22, 0x27, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x6f, 0x22, 0x5e, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x49, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74,
+	0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49,
+	0x64, 0x22, 0x27, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65,
 	0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
 	0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65,
 	0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75,
@@ -464,7 +533,7 @@ var file_wx_proto_rawDesc = []byte{
 	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, 0xec, 0x07, 0x0a, 0x02,
+	0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xb1, 0x08, 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,
@@ -527,11 +596,15 @@ var file_wx_proto_rawDesc = []byte{
 	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, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02,
 	0x19, 0x22, 0x17, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x6e, 0x64, 0x2f, 0x73, 0x75, 0x62,
-	0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2f, 0x77, 0x65, 0x62, 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,
+	0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x2f, 0x77, 0x65, 0x62, 0x12, 0x43, 0x0a, 0x0b, 0x53, 0x65,
+	0x6e, 0x64, 0x41, 0x49, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x77, 0x78, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x49, 0x52, 0x65, 0x70, 0x6c, 0x79, 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,
 }
 
 var (
@@ -546,47 +619,50 @@ func file_wx_proto_rawDescGZIP() []byte {
 	return file_wx_proto_rawDescData
 }
 
-var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
+var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
 var file_wx_proto_goTypes = []interface{}{
-	(*OpenIDRequest)(nil),                       // 0: api.wx.OpenIDRequest
-	(*GetAccessTokenRequest)(nil),               // 1: api.wx.GetAccessTokenRequest
-	(*GetAccessTokenReply)(nil),                 // 2: api.wx.GetAccessTokenReply
-	(*GetUserMsgByKeyRequest)(nil),              // 3: api.wx.GetUserMsgByKeyRequest
-	(*GetUserMsgByKeyReply)(nil),                // 4: api.wx.GetUserMsgByKeyReply
-	(*ReduceUserUnreadRequest)(nil),             // 5: api.wx.ReduceUserUnreadRequest
-	(*SendNewMessageUnreadReminderRequest)(nil), // 6: api.wx.SendNewMessageUnreadReminderRequest
-	(*emptypb.Empty)(nil),                       // 7: google.protobuf.Empty
-	(*common.PersonIDParam)(nil),                // 8: api.common.PersonIDParam
-	(*common.WxConfReq)(nil),                    // 9: api.common.WxConfReq
-	(*account.MediaID)(nil),                     // 10: api.account.MediaID
-	(*common.WxConfResponse)(nil),               // 11: api.common.WxConfResponse
-	(*account.MaterialLink)(nil),                // 12: api.account.MaterialLink
+	(*SendAIReplyRequest)(nil),                  // 0: api.wx.SendAIReplyRequest
+	(*OpenIDRequest)(nil),                       // 1: api.wx.OpenIDRequest
+	(*GetAccessTokenRequest)(nil),               // 2: api.wx.GetAccessTokenRequest
+	(*GetAccessTokenReply)(nil),                 // 3: api.wx.GetAccessTokenReply
+	(*GetUserMsgByKeyRequest)(nil),              // 4: api.wx.GetUserMsgByKeyRequest
+	(*GetUserMsgByKeyReply)(nil),                // 5: api.wx.GetUserMsgByKeyReply
+	(*ReduceUserUnreadRequest)(nil),             // 6: api.wx.ReduceUserUnreadRequest
+	(*SendNewMessageUnreadReminderRequest)(nil), // 7: api.wx.SendNewMessageUnreadReminderRequest
+	(*emptypb.Empty)(nil),                       // 8: google.protobuf.Empty
+	(*common.PersonIDParam)(nil),                // 9: api.common.PersonIDParam
+	(*common.WxConfReq)(nil),                    // 10: api.common.WxConfReq
+	(*account.MediaID)(nil),                     // 11: api.account.MediaID
+	(*common.WxConfResponse)(nil),               // 12: api.common.WxConfResponse
+	(*account.MaterialLink)(nil),                // 13: api.account.MaterialLink
 }
 var file_wx_proto_depIdxs = []int32{
-	7,  // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
-	7,  // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
-	6,  // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
-	8,  // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
-	5,  // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
-	3,  // 5: api.wx.Wx.GetUserMsgByKey:input_type -> api.wx.GetUserMsgByKeyRequest
-	9,  // 6: api.wx.Wx.WxConf:input_type -> api.common.WxConfReq
-	10, // 7: api.wx.Wx.UploadMaterialVoice:input_type -> api.account.MediaID
-	7,  // 8: api.wx.Wx.CronDeleteOldUserSelect:input_type -> google.protobuf.Empty
-	1,  // 9: api.wx.Wx.GetAccessToken:input_type -> api.wx.GetAccessTokenRequest
-	0,  // 10: api.wx.Wx.SendNewVisitorReminder:input_type -> api.wx.OpenIDRequest
-	7,  // 11: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
-	7,  // 12: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
-	7,  // 13: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
-	7,  // 14: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
-	7,  // 15: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
-	4,  // 16: api.wx.Wx.GetUserMsgByKey:output_type -> api.wx.GetUserMsgByKeyReply
-	11, // 17: api.wx.Wx.WxConf:output_type -> api.common.WxConfResponse
-	12, // 18: api.wx.Wx.UploadMaterialVoice:output_type -> api.account.MaterialLink
-	7,  // 19: api.wx.Wx.CronDeleteOldUserSelect:output_type -> google.protobuf.Empty
-	2,  // 20: api.wx.Wx.GetAccessToken:output_type -> api.wx.GetAccessTokenReply
-	7,  // 21: api.wx.Wx.SendNewVisitorReminder:output_type -> google.protobuf.Empty
-	11, // [11:22] is the sub-list for method output_type
-	0,  // [0:11] is the sub-list for method input_type
+	8,  // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
+	8,  // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
+	7,  // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
+	9,  // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
+	6,  // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
+	4,  // 5: api.wx.Wx.GetUserMsgByKey:input_type -> api.wx.GetUserMsgByKeyRequest
+	10, // 6: api.wx.Wx.WxConf:input_type -> api.common.WxConfReq
+	11, // 7: api.wx.Wx.UploadMaterialVoice:input_type -> api.account.MediaID
+	8,  // 8: api.wx.Wx.CronDeleteOldUserSelect:input_type -> google.protobuf.Empty
+	2,  // 9: api.wx.Wx.GetAccessToken:input_type -> api.wx.GetAccessTokenRequest
+	1,  // 10: api.wx.Wx.SendNewVisitorReminder:input_type -> api.wx.OpenIDRequest
+	0,  // 11: api.wx.Wx.SendAIReply:input_type -> api.wx.SendAIReplyRequest
+	8,  // 12: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
+	8,  // 13: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
+	8,  // 14: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
+	8,  // 15: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
+	8,  // 16: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
+	5,  // 17: api.wx.Wx.GetUserMsgByKey:output_type -> api.wx.GetUserMsgByKeyReply
+	12, // 18: api.wx.Wx.WxConf:output_type -> api.common.WxConfResponse
+	13, // 19: api.wx.Wx.UploadMaterialVoice:output_type -> api.account.MaterialLink
+	8,  // 20: api.wx.Wx.CronDeleteOldUserSelect:output_type -> google.protobuf.Empty
+	3,  // 21: api.wx.Wx.GetAccessToken:output_type -> api.wx.GetAccessTokenReply
+	8,  // 22: api.wx.Wx.SendNewVisitorReminder:output_type -> google.protobuf.Empty
+	8,  // 23: api.wx.Wx.SendAIReply:output_type -> google.protobuf.Empty
+	12, // [12:24] is the sub-list for method output_type
+	0,  // [0:12] 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 extendee
 	0,  // [0:0] is the sub-list for field type_name
@@ -599,7 +675,7 @@ func file_wx_proto_init() {
 	}
 	if !protoimpl.UnsafeEnabled {
 		file_wx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*OpenIDRequest); i {
+			switch v := v.(*SendAIReplyRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -611,7 +687,7 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*GetAccessTokenRequest); i {
+			switch v := v.(*OpenIDRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -623,7 +699,7 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*GetAccessTokenReply); i {
+			switch v := v.(*GetAccessTokenRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -635,7 +711,7 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*GetUserMsgByKeyRequest); i {
+			switch v := v.(*GetAccessTokenReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -647,7 +723,7 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*GetUserMsgByKeyReply); i {
+			switch v := v.(*GetUserMsgByKeyRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -659,7 +735,7 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*ReduceUserUnreadRequest); i {
+			switch v := v.(*GetUserMsgByKeyReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -671,6 +747,18 @@ func file_wx_proto_init() {
 			}
 		}
 		file_wx_proto_msgTypes[6].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[7].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*SendNewMessageUnreadReminderRequest); i {
 			case 0:
 				return &v.state
@@ -689,7 +777,7 @@ func file_wx_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_wx_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   7,
+			NumMessages:   8,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 7 - 0
api/wx/wx.proto

@@ -51,6 +51,13 @@ service Wx {
       post: "/api/send/subscribe/web",
     };
   };
+  rpc SendAIReply (SendAIReplyRequest) returns (google.protobuf.Empty){};
+}
+
+message SendAIReplyRequest{
+  string personId  = 1;
+  string name = 2;
+  int64 robotId = 3;
 }
 
 message OpenIDRequest {

+ 36 - 0
api/wx/wx_grpc.pb.go

@@ -41,6 +41,7 @@ type WxClient interface {
 	CronDeleteOldUserSelect(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	GetAccessToken(ctx context.Context, in *GetAccessTokenRequest, opts ...grpc.CallOption) (*GetAccessTokenReply, error)
 	SendNewVisitorReminder(ctx context.Context, in *OpenIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	SendAIReply(ctx context.Context, in *SendAIReplyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 }
 
 type wxClient struct {
@@ -150,6 +151,15 @@ func (c *wxClient) SendNewVisitorReminder(ctx context.Context, in *OpenIDRequest
 	return out, nil
 }
 
+func (c *wxClient) SendAIReply(ctx context.Context, in *SendAIReplyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.wx.Wx/SendAIReply", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // WxServer is the server API for Wx service.
 // All implementations must embed UnimplementedWxServer
 // for forward compatibility
@@ -174,6 +184,7 @@ type WxServer interface {
 	CronDeleteOldUserSelect(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
 	GetAccessToken(context.Context, *GetAccessTokenRequest) (*GetAccessTokenReply, error)
 	SendNewVisitorReminder(context.Context, *OpenIDRequest) (*emptypb.Empty, error)
+	SendAIReply(context.Context, *SendAIReplyRequest) (*emptypb.Empty, error)
 	mustEmbedUnimplementedWxServer()
 }
 
@@ -214,6 +225,9 @@ func (UnimplementedWxServer) GetAccessToken(context.Context, *GetAccessTokenRequ
 func (UnimplementedWxServer) SendNewVisitorReminder(context.Context, *OpenIDRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method SendNewVisitorReminder not implemented")
 }
+func (UnimplementedWxServer) SendAIReply(context.Context, *SendAIReplyRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method SendAIReply not implemented")
+}
 func (UnimplementedWxServer) mustEmbedUnimplementedWxServer() {}
 
 // UnsafeWxServer may be embedded to opt out of forward compatibility for this service.
@@ -425,6 +439,24 @@ func _Wx_SendNewVisitorReminder_Handler(srv interface{}, ctx context.Context, de
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Wx_SendAIReply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(SendAIReplyRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(WxServer).SendAIReply(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.wx.Wx/SendAIReply",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(WxServer).SendAIReply(ctx, req.(*SendAIReplyRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // Wx_ServiceDesc is the grpc.ServiceDesc for Wx service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -476,6 +508,10 @@ var Wx_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "SendNewVisitorReminder",
 			Handler:    _Wx_SendNewVisitorReminder_Handler,
 		},
+		{
+			MethodName: "SendAIReply",
+			Handler:    _Wx_SendAIReply_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "wx.proto",

+ 1 - 1
js/api/wx/wx_http_pb.ts

@@ -1,6 +1,6 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {SendNewMessageUnreadReminderRequest,ReduceUserUnreadRequest,GetUserMsgByKeyRequest,GetUserMsgByKeyReply,GetAccessTokenRequest,GetAccessTokenReply,OpenIDRequest} from "./wx_pb";
+import {SendNewMessageUnreadReminderRequest,ReduceUserUnreadRequest,GetUserMsgByKeyRequest,GetUserMsgByKeyReply,GetAccessTokenRequest,GetAccessTokenReply,OpenIDRequest,SendAIReplyRequest} from "./wx_pb";
 import {PersonIDParam,WxConfReq,WxConfResponse} from "../common/common_pb";
 import {MediaID,MaterialLink} from "../account/account_pb";
 

+ 5 - 0
js/api/wx/wx_pb.ts

@@ -1,3 +1,8 @@
+export interface SendAIReplyRequest{
+    personId?:string;
+    name?:string;
+    robotId?:number;
+}
 export interface OpenIDRequest{
     openId?:string;
 }