|
|
@@ -153,6 +153,86 @@ func (x *MessageHead) GetAccountID2() uint64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+// 公共通知消息头
|
|
|
+type NotifyHead struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ NtfMode *int32 `protobuf:"varint,1,opt,name=NtfMode" json:"NtfMode,omitempty"` // 消息通知模式(单播、组播、广播)
|
|
|
+ ExcludeAcctIDs []uint32 `protobuf:"varint,2,rep,name=ExcludeAcctIDs" json:"ExcludeAcctIDs,omitempty"` // 排除账号集合(首先过滤此集合帐号)
|
|
|
+ ExchIDs []uint32 `protobuf:"varint,3,rep,name=ExchIDs" json:"ExchIDs,omitempty"` // 目标交易所集合(若匹配所属交易所,推送)
|
|
|
+ MemberIDs []uint32 `protobuf:"varint,4,rep,name=MemberIDs" json:"MemberIDs,omitempty"` // 目标会员集合(若匹配所属会员,推送)
|
|
|
+ AccountIDs []uint64 `protobuf:"varint,5,rep,name=AccountIDs" json:"AccountIDs,omitempty"` // 目标账号集合(以上均不匹配时,最后检查此集合)
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) Reset() {
|
|
|
+ *x = NotifyHead{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*NotifyHead) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *NotifyHead) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_mtp2_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 NotifyHead.ProtoReflect.Descriptor instead.
|
|
|
+func (*NotifyHead) Descriptor() ([]byte, []int) {
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) GetNtfMode() int32 {
|
|
|
+ if x != nil && x.NtfMode != nil {
|
|
|
+ return *x.NtfMode
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) GetExcludeAcctIDs() []uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ExcludeAcctIDs
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) GetExchIDs() []uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ExchIDs
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) GetMemberIDs() []uint32 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MemberIDs
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *NotifyHead) GetAccountIDs() []uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.AccountIDs
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
// 铁合金成交通知
|
|
|
type THJPurchaseTradeNtf struct {
|
|
|
state protoimpl.MessageState
|
|
|
@@ -166,7 +246,7 @@ type THJPurchaseTradeNtf struct {
|
|
|
func (x *THJPurchaseTradeNtf) Reset() {
|
|
|
*x = THJPurchaseTradeNtf{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_mtp2_proto_msgTypes[1]
|
|
|
+ mi := &file_mtp2_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
@@ -179,7 +259,7 @@ func (x *THJPurchaseTradeNtf) String() string {
|
|
|
func (*THJPurchaseTradeNtf) ProtoMessage() {}
|
|
|
|
|
|
func (x *THJPurchaseTradeNtf) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_mtp2_proto_msgTypes[1]
|
|
|
+ mi := &file_mtp2_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -192,7 +272,7 @@ func (x *THJPurchaseTradeNtf) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use THJPurchaseTradeNtf.ProtoReflect.Descriptor instead.
|
|
|
func (*THJPurchaseTradeNtf) Descriptor() ([]byte, []int) {
|
|
|
- return file_mtp2_proto_rawDescGZIP(), []int{1}
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
func (x *THJPurchaseTradeNtf) GetHeader() *MessageHead {
|
|
|
@@ -222,7 +302,7 @@ type PurchaseTransferNtf struct {
|
|
|
func (x *PurchaseTransferNtf) Reset() {
|
|
|
*x = PurchaseTransferNtf{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_mtp2_proto_msgTypes[2]
|
|
|
+ mi := &file_mtp2_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
@@ -235,7 +315,7 @@ func (x *PurchaseTransferNtf) String() string {
|
|
|
func (*PurchaseTransferNtf) ProtoMessage() {}
|
|
|
|
|
|
func (x *PurchaseTransferNtf) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_mtp2_proto_msgTypes[2]
|
|
|
+ mi := &file_mtp2_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
@@ -248,7 +328,7 @@ func (x *PurchaseTransferNtf) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use PurchaseTransferNtf.ProtoReflect.Descriptor instead.
|
|
|
func (*PurchaseTransferNtf) Descriptor() ([]byte, []int) {
|
|
|
- return file_mtp2_proto_rawDescGZIP(), []int{2}
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *PurchaseTransferNtf) GetHeader() *MessageHead {
|
|
|
@@ -265,6 +345,206 @@ func (x *PurchaseTransferNtf) GetTransferID() uint64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+// 仓单贸易成交通知
|
|
|
+type WRTradeDealedNtf struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Header *MessageHead `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // 消息头
|
|
|
+ NtfHeader *NotifyHead `protobuf:"bytes,2,opt,name=NtfHeader" json:"NtfHeader,omitempty"` // NotifyHead 公共消息头
|
|
|
+ ListingOrderID *uint64 `protobuf:"varint,3,opt,name=ListingOrderID" json:"ListingOrderID,omitempty"` // uint64 挂牌委托单号
|
|
|
+ DelistingOrderID *uint64 `protobuf:"varint,4,opt,name=DelistingOrderID" json:"DelistingOrderID,omitempty"` // uint64 摘牌委托单号
|
|
|
+ TradeQty *uint64 `protobuf:"varint,5,opt,name=TradeQty" json:"TradeQty,omitempty"` // uint64 挂牌成交数量
|
|
|
+ ActiveQty *uint64 `protobuf:"varint,6,opt,name=ActiveQty" json:"ActiveQty,omitempty"` // uint64 挂牌剩余数量
|
|
|
+ RealTradeQty *uint64 `protobuf:"varint,7,opt,name=RealTradeQty" json:"RealTradeQty,omitempty"` // uint64 摘牌实际成交数量
|
|
|
+ TradeID *uint64 `protobuf:"varint,8,opt,name=TradeID" json:"TradeID,omitempty"` // uint64 成交单ID
|
|
|
+ BuyAccountID *uint64 `protobuf:"varint,9,opt,name=BuyAccountID" json:"BuyAccountID,omitempty"` // uint64 买资金账号
|
|
|
+ SellAccountID *uint64 `protobuf:"varint,10,opt,name=SellAccountID" json:"SellAccountID,omitempty"` // uint64 卖资金账号
|
|
|
+ TradePrice *float64 `protobuf:"fixed64,11,opt,name=TradePrice" json:"TradePrice,omitempty"` // double 成交价
|
|
|
+ TradeTime *string `protobuf:"bytes,12,opt,name=TradeTime" json:"TradeTime,omitempty"` // string 成交时间
|
|
|
+ WRFactorTypeID *uint64 `protobuf:"varint,13,opt,name=WRFactorTypeID" json:"WRFactorTypeID,omitempty"` // uint64 仓单要素ID
|
|
|
+ WRTransferUserID *uint32 `protobuf:"varint,14,opt,name=WRTransferUserID" json:"WRTransferUserID,omitempty"` // uint32 仓单受让账户
|
|
|
+ FreezeFirstAmount *float64 `protobuf:"fixed64,15,opt,name=FreezeFirstAmount" json:"FreezeFirstAmount,omitempty"` // double 冻结首付金额
|
|
|
+ UnFreezeFirstAmount *float64 `protobuf:"fixed64,16,opt,name=UnFreezeFirstAmount" json:"UnFreezeFirstAmount,omitempty"` // double 解冻首付金额
|
|
|
+ RealTradeAmount *float64 `protobuf:"fixed64,17,opt,name=RealTradeAmount" json:"RealTradeAmount,omitempty"` // double 实际成交金额
|
|
|
+ PerformanceAmount *float64 `protobuf:"fixed64,18,opt,name=PerformanceAmount" json:"PerformanceAmount,omitempty"` // double 履约金额
|
|
|
+ PerformancePlanID *uint64 `protobuf:"varint,19,opt,name=PerformancePlanID" json:"PerformancePlanID,omitempty"` // uint64 履约计划ID
|
|
|
+ PerformanceTemplateID *int64 `protobuf:"varint,20,opt,name=PerformanceTemplateID" json:"PerformanceTemplateID,omitempty"` // int64 履约计划模板ID
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) Reset() {
|
|
|
+ *x = WRTradeDealedNtf{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*WRTradeDealedNtf) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[4]
|
|
|
+ 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 WRTradeDealedNtf.ProtoReflect.Descriptor instead.
|
|
|
+func (*WRTradeDealedNtf) Descriptor() ([]byte, []int) {
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetHeader() *MessageHead {
|
|
|
+ if x != nil {
|
|
|
+ return x.Header
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetNtfHeader() *NotifyHead {
|
|
|
+ if x != nil {
|
|
|
+ return x.NtfHeader
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetListingOrderID() uint64 {
|
|
|
+ if x != nil && x.ListingOrderID != nil {
|
|
|
+ return *x.ListingOrderID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetDelistingOrderID() uint64 {
|
|
|
+ if x != nil && x.DelistingOrderID != nil {
|
|
|
+ return *x.DelistingOrderID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetTradeQty() uint64 {
|
|
|
+ if x != nil && x.TradeQty != nil {
|
|
|
+ return *x.TradeQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetActiveQty() uint64 {
|
|
|
+ if x != nil && x.ActiveQty != nil {
|
|
|
+ return *x.ActiveQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetRealTradeQty() uint64 {
|
|
|
+ if x != nil && x.RealTradeQty != nil {
|
|
|
+ return *x.RealTradeQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetTradeID() uint64 {
|
|
|
+ if x != nil && x.TradeID != nil {
|
|
|
+ return *x.TradeID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetBuyAccountID() uint64 {
|
|
|
+ if x != nil && x.BuyAccountID != nil {
|
|
|
+ return *x.BuyAccountID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetSellAccountID() uint64 {
|
|
|
+ if x != nil && x.SellAccountID != nil {
|
|
|
+ return *x.SellAccountID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetTradePrice() float64 {
|
|
|
+ if x != nil && x.TradePrice != nil {
|
|
|
+ return *x.TradePrice
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetTradeTime() string {
|
|
|
+ if x != nil && x.TradeTime != nil {
|
|
|
+ return *x.TradeTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetWRFactorTypeID() uint64 {
|
|
|
+ if x != nil && x.WRFactorTypeID != nil {
|
|
|
+ return *x.WRFactorTypeID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetWRTransferUserID() uint32 {
|
|
|
+ if x != nil && x.WRTransferUserID != nil {
|
|
|
+ return *x.WRTransferUserID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetFreezeFirstAmount() float64 {
|
|
|
+ if x != nil && x.FreezeFirstAmount != nil {
|
|
|
+ return *x.FreezeFirstAmount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetUnFreezeFirstAmount() float64 {
|
|
|
+ if x != nil && x.UnFreezeFirstAmount != nil {
|
|
|
+ return *x.UnFreezeFirstAmount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetRealTradeAmount() float64 {
|
|
|
+ if x != nil && x.RealTradeAmount != nil {
|
|
|
+ return *x.RealTradeAmount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetPerformanceAmount() float64 {
|
|
|
+ if x != nil && x.PerformanceAmount != nil {
|
|
|
+ return *x.PerformanceAmount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetPerformancePlanID() uint64 {
|
|
|
+ if x != nil && x.PerformancePlanID != nil {
|
|
|
+ return *x.PerformancePlanID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WRTradeDealedNtf) GetPerformanceTemplateID() int64 {
|
|
|
+ if x != nil && x.PerformanceTemplateID != nil {
|
|
|
+ return *x.PerformanceTemplateID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_mtp2_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_mtp2_proto_rawDesc = []byte{
|
|
|
@@ -289,20 +569,81 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x52, 0x65, 0x73,
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63,
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x32, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
|
|
|
- 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x32, 0x22, 0x68, 0x0a, 0x13, 0x54, 0x48,
|
|
|
- 0x4a, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x74,
|
|
|
- 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65,
|
|
|
- 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x57, 0x52,
|
|
|
- 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x44, 0x18, 0x02, 0x20,
|
|
|
- 0x01, 0x28, 0x04, 0x52, 0x0f, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x74, 0x61,
|
|
|
- 0x69, 0x6c, 0x49, 0x44, 0x22, 0x5e, 0x0a, 0x13, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65,
|
|
|
- 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4e, 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48,
|
|
|
- 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62,
|
|
|
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65,
|
|
|
- 0x61, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
|
|
|
- 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
|
|
|
- 0x65, 0x72, 0x49, 0x44,
|
|
|
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x32, 0x22, 0xa6, 0x01, 0x0a, 0x0a, 0x4e,
|
|
|
+ 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x74, 0x66,
|
|
|
+ 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x4e, 0x74, 0x66, 0x4d,
|
|
|
+ 0x6f, 0x64, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, 0x63,
|
|
|
+ 0x63, 0x74, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x45, 0x78, 0x63,
|
|
|
+ 0x6c, 0x75, 0x64, 0x65, 0x41, 0x63, 0x63, 0x74, 0x49, 0x44, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x45,
|
|
|
+ 0x78, 0x63, 0x68, 0x49, 0x44, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x45, 0x78,
|
|
|
+ 0x63, 0x68, 0x49, 0x44, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49,
|
|
|
+ 0x44, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
|
|
|
+ 0x49, 0x44, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44,
|
|
|
+ 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x49, 0x44, 0x73, 0x22, 0x68, 0x0a, 0x13, 0x54, 0x48, 0x4a, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61,
|
|
|
+ 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65,
|
|
|
+ 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61,
|
|
|
+ 0x64, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65,
|
|
|
+ 0x74, 0x61, 0x69, 0x6c, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x57, 0x52,
|
|
|
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x44, 0x22, 0x5e, 0x0a,
|
|
|
+ 0x13, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
|
|
|
+ 0x72, 0x4e, 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
|
|
|
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x48, 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a,
|
|
|
+ 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
+ 0x04, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x49, 0x44, 0x22, 0xad, 0x06,
|
|
|
+ 0x0a, 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x4e,
|
|
|
+ 0x74, 0x66, 0x12, 0x27, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48,
|
|
|
+ 0x65, 0x61, 0x64, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x09, 0x4e,
|
|
|
+ 0x74, 0x66, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
|
+ 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x52, 0x09,
|
|
|
+ 0x4e, 0x74, 0x66, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x4c, 0x69, 0x73,
|
|
|
+ 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
+ 0x04, 0x52, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49,
|
|
|
+ 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72,
|
|
|
+ 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x44, 0x65, 0x6c,
|
|
|
+ 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a,
|
|
|
+ 0x08, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
|
+ 0x08, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x63, 0x74,
|
|
|
+ 0x69, 0x76, 0x65, 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x41, 0x63,
|
|
|
+ 0x74, 0x69, 0x76, 0x65, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x6c, 0x54,
|
|
|
+ 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x52,
|
|
|
+ 0x65, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x51, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x54,
|
|
|
+ 0x72, 0x61, 0x64, 0x65, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x54, 0x72,
|
|
|
+ 0x61, 0x64, 0x65, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x75, 0x79, 0x41, 0x63, 0x63, 0x6f,
|
|
|
+ 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x42, 0x75, 0x79,
|
|
|
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x53, 0x65, 0x6c,
|
|
|
+ 0x6c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04,
|
|
|
+ 0x52, 0x0d, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12,
|
|
|
+ 0x1e, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20,
|
|
|
+ 0x01, 0x28, 0x01, 0x52, 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12,
|
|
|
+ 0x1c, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
|
|
|
+ 0x0e, 0x57, 0x52, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x49, 0x44, 0x18,
|
|
|
+ 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x57, 0x52, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54,
|
|
|
+ 0x79, 0x70, 0x65, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x6e, 0x73,
|
|
|
+ 0x66, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
+ 0x10, 0x57, 0x52, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
+ 0x44, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74,
|
|
|
+ 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x46, 0x72,
|
|
|
+ 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
|
+ 0x30, 0x0a, 0x13, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74,
|
|
|
+ 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x55, 0x6e,
|
|
|
+ 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6d,
|
|
|
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x52, 0x65, 0x61, 0x6c,
|
|
|
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x50,
|
|
|
+ 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61,
|
|
|
+ 0x6e, 0x63, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x50, 0x65, 0x72,
|
|
|
+ 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x13,
|
|
|
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63,
|
|
|
+ 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x12, 0x34, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x66, 0x6f,
|
|
|
+ 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44,
|
|
|
+ 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61,
|
|
|
+ 0x6e, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x44,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -317,20 +658,24 @@ func file_mtp2_proto_rawDescGZIP() []byte {
|
|
|
return file_mtp2_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
|
+var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
var file_mtp2_proto_goTypes = []interface{}{
|
|
|
(*MessageHead)(nil), // 0: pb.MessageHead
|
|
|
- (*THJPurchaseTradeNtf)(nil), // 1: pb.THJPurchaseTradeNtf
|
|
|
- (*PurchaseTransferNtf)(nil), // 2: pb.PurchaseTransferNtf
|
|
|
+ (*NotifyHead)(nil), // 1: pb.NotifyHead
|
|
|
+ (*THJPurchaseTradeNtf)(nil), // 2: pb.THJPurchaseTradeNtf
|
|
|
+ (*PurchaseTransferNtf)(nil), // 3: pb.PurchaseTransferNtf
|
|
|
+ (*WRTradeDealedNtf)(nil), // 4: pb.WRTradeDealedNtf
|
|
|
}
|
|
|
var file_mtp2_proto_depIdxs = []int32{
|
|
|
0, // 0: pb.THJPurchaseTradeNtf.Header:type_name -> pb.MessageHead
|
|
|
0, // 1: pb.PurchaseTransferNtf.Header:type_name -> pb.MessageHead
|
|
|
- 2, // [2:2] is the sub-list for method output_type
|
|
|
- 2, // [2:2] 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
|
|
|
+ 0, // 2: pb.WRTradeDealedNtf.Header:type_name -> pb.MessageHead
|
|
|
+ 1, // 3: pb.WRTradeDealedNtf.NtfHeader:type_name -> pb.NotifyHead
|
|
|
+ 4, // [4:4] is the sub-list for method output_type
|
|
|
+ 4, // [4:4] is the sub-list for method input_type
|
|
|
+ 4, // [4:4] is the sub-list for extension type_name
|
|
|
+ 4, // [4:4] is the sub-list for extension extendee
|
|
|
+ 0, // [0:4] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_mtp2_proto_init() }
|
|
|
@@ -352,7 +697,7 @@ func file_mtp2_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_mtp2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*THJPurchaseTradeNtf); i {
|
|
|
+ switch v := v.(*NotifyHead); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
|
@@ -364,6 +709,18 @@ func file_mtp2_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_mtp2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*THJPurchaseTradeNtf); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_mtp2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*PurchaseTransferNtf); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
@@ -375,6 +732,18 @@ func file_mtp2_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_mtp2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*WRTradeDealedNtf); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
@@ -382,7 +751,7 @@ func file_mtp2_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_mtp2_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 3,
|
|
|
+ NumMessages: 5,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|