4
0

rename order refund

This commit is contained in:
dc.To 2025-04-23 16:44:19 +08:00
parent 84304570db
commit 982698cc1c

251
org.pb.go
View File

@ -664,16 +664,16 @@ type EventReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Kid uint64 `protobuf:"varint,1,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` //主体ID
Uid string `protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` //用户ID
Org string `protobuf:"bytes,3,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` //渠道标识
Via string `protobuf:"bytes,4,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` //支付方式
Url string `protobuf:"bytes,5,opt,name=Url,proto3" json:"Url,omitempty" dc:"URL"` //URL
Event string `protobuf:"bytes,6,opt,name=Event,proto3" json:"Event,omitempty" dc:"事件"` //事件
Action string `protobuf:"bytes,7,opt,name=Action,proto3" json:"Action,omitempty" dc:"Action(渠道方子业务)"` //Action(渠道方子业务)
Query map[string]string `protobuf:"bytes,8,rep,name=Query,proto3" json:"Query,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"URL参数"` //URL参数
Header map[string]string `protobuf:"bytes,9,rep,name=Header,proto3" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"Header信息"` //Header信息
Body []byte `protobuf:"bytes,10,opt,name=Body,proto3" json:"Body,omitempty" dc:"Body数据"` //Body数据
Kid uint64 `protobuf:"varint,1,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` //主体ID
Uid string `protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` //用户ID
Org string `protobuf:"bytes,3,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` //渠道标识
Via string `protobuf:"bytes,4,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` //支付方式
Url string `protobuf:"bytes,5,opt,name=Url,proto3" json:"Url,omitempty" dc:"URL"` //URL
Action string `protobuf:"bytes,6,opt,name=Action,proto3" json:"Action,omitempty" dc:"Action(渠道方子业务)"` //Action(渠道方子业务)
Metadata map[string]string `protobuf:"bytes,7,rep,name=Metadata,proto3" json:"Metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"附加参数"` //附加参数
Query map[string]string `protobuf:"bytes,8,rep,name=Query,proto3" json:"Query,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"URL参数"` //URL参数
Header map[string]string `protobuf:"bytes,9,rep,name=Header,proto3" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" dc:"Header信息"` //Header信息
Body []byte `protobuf:"bytes,10,opt,name=Body,proto3" json:"Body,omitempty" dc:"Body数据"` //Body数据
}
func (x *EventReq) Reset() {
@ -741,13 +741,6 @@ func (x *EventReq) GetUrl() string {
return ""
}
func (x *EventReq) GetEvent() string {
if x != nil {
return x.Event
}
return ""
}
func (x *EventReq) GetAction() string {
if x != nil {
return x.Action
@ -755,6 +748,13 @@ func (x *EventReq) GetAction() string {
return ""
}
func (x *EventReq) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
func (x *EventReq) GetQuery() map[string]string {
if x != nil {
return x.Query
@ -784,9 +784,9 @@ type EventRes struct {
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty" dc:"事件类型 order/refund/revoke v:required"` //事件类型 order/refund/revoke v:required
// Types that are assignable to Data:
//
// *EventRes_Orders
// *EventRes_Refunds
Data isEventRes_Data `protobuf_oneof:"Data" dc:"*EventRes_Orders*EventRes_Refunds"`
// *EventRes_Order
// *EventRes_Refund
Data isEventRes_Data `protobuf_oneof:"Data" dc:"*EventRes_Order*EventRes_Refund"`
}
func (x *EventRes) Reset() {
@ -833,16 +833,16 @@ func (m *EventRes) GetData() isEventRes_Data {
return nil
}
func (x *EventRes) GetOrders() *Orders {
if x, ok := x.GetData().(*EventRes_Orders); ok {
return x.Orders
func (x *EventRes) GetOrder() *Orders {
if x, ok := x.GetData().(*EventRes_Order); ok {
return x.Order
}
return nil
}
func (x *EventRes) GetRefunds() *Refunds {
if x, ok := x.GetData().(*EventRes_Refunds); ok {
return x.Refunds
func (x *EventRes) GetRefund() *Refunds {
if x, ok := x.GetData().(*EventRes_Refund); ok {
return x.Refund
}
return nil
}
@ -851,17 +851,17 @@ type isEventRes_Data interface {
isEventRes_Data()
}
type EventRes_Orders struct {
Orders *Orders `protobuf:"bytes,11,opt,name=Orders,proto3,oneof" dc:"订单信息"` //订单信息
type EventRes_Order struct {
Order *Orders `protobuf:"bytes,11,opt,name=Order,proto3,oneof" dc:"订单信息"` //订单信息
}
type EventRes_Refunds struct {
Refunds *Refunds `protobuf:"bytes,12,opt,name=Refunds,proto3,oneof" dc:"退单信息"` //退单信息
type EventRes_Refund struct {
Refund *Refunds `protobuf:"bytes,12,opt,name=Refund,proto3,oneof" dc:"退单信息"` //退单信息
}
func (*EventRes_Orders) isEventRes_Data() {}
func (*EventRes_Order) isEventRes_Data() {}
func (*EventRes_Refunds) isEventRes_Data() {}
func (*EventRes_Refund) isEventRes_Data() {}
var File_org_proto protoreflect.FileDescriptor
@ -953,66 +953,71 @@ var file_org_proto_rawDesc = []byte{
0x74, 0x6f, 0x72, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
0x4e, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x22, 0xf6,
0x02, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x4b,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x22, 0xd2,
0x03, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x4b,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a,
0x03, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12,
0x10, 0x0a, 0x03, 0x4f, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72,
0x67, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x56, 0x69, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x41,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x51, 0x75,
0x65, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12,
0x2d, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x15, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12,
0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f,
0x64, 0x79, 0x1a, 0x38, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x81, 0x01, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x06, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x48, 0x00, 0x52, 0x07, 0x52, 0x65, 0x66, 0x75,
0x6e, 0x64, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x2a, 0x37, 0x0a, 0x05, 0x53,
0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10,
0x00, 0x12, 0x14, 0x0a, 0x07, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x10, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x10, 0x01, 0x32, 0x8a, 0x02, 0x0a, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x05,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x09, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
0x1a, 0x09, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x04, 0x50,
0x69, 0x6e, 0x67, 0x12, 0x08, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x08, 0x2e,
0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x03, 0x50, 0x61, 0x79, 0x12, 0x07,
0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x52, 0x65, 0x66,
0x75, 0x6e, 0x64, 0x12, 0x0a, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a,
0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e,
0x64, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x09, 0x2e, 0x51,
0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x0a, 0x51, 0x75, 0x65,
0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x09, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x66,
0x75, 0x6e, 0x64, 0x12, 0x09, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x11,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
0x73, 0x32, 0x36, 0x0a, 0x03, 0x42, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65,
0x72, 0x12, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64,
0x65, 0x72, 0x73, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x73, 0x28, 0x01, 0x30, 0x01, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74,
0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x69, 0x6f, 0x2e, 0x63, 0x6e, 0x2f, 0x6c, 0x69, 0x6e, 0x6b,
0x70, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x52, 0x03, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a,
0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x17, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x12, 0x2a, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2d,
0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a,
0x04, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x42, 0x6f, 0x64,
0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38,
0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64,
0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x12,
0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54,
0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a,
0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73,
0x48, 0x00, 0x52, 0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x44, 0x61,
0x74, 0x61, 0x2a, 0x37, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50,
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x07, 0x46, 0x61, 0x69, 0x6c,
0x75, 0x72, 0x65, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x0b,
0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x32, 0x8a, 0x02, 0x0a, 0x03,
0x4f, 0x72, 0x67, 0x12, 0x1d, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x09, 0x2e, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
0x65, 0x73, 0x12, 0x1a, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x2e, 0x50, 0x69, 0x6e,
0x67, 0x52, 0x65, 0x71, 0x1a, 0x08, 0x2e, 0x50, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x12, 0x20,
0x0a, 0x03, 0x50, 0x61, 0x79, 0x12, 0x07, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
0x12, 0x27, 0x0a, 0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x0a, 0x2e, 0x52, 0x65, 0x66,
0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x52, 0x65, 0x76,
0x6f, 0x6b, 0x65, 0x12, 0x09, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
0x12, 0x29, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x09,
0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x0a, 0x0b, 0x51,
0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x09, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x32, 0x36, 0x0a, 0x03, 0x42, 0x73, 0x73, 0x12,
0x2f, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x28, 0x01, 0x30, 0x01,
0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x69, 0x6f, 0x2e,
0x63, 0x6e, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -1028,7 +1033,7 @@ func file_org_proto_rawDescGZIP() []byte {
}
var file_org_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_org_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_org_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_org_proto_goTypes = []any{
(State)(0), // 0: State
(*PingReq)(nil), // 1: PingReq
@ -1041,41 +1046,43 @@ var file_org_proto_goTypes = []any{
(*EventRes)(nil), // 8: EventRes
nil, // 9: PayReq.MetadataEntry
nil, // 10: RefundReq.MetadataEntry
nil, // 11: EventReq.QueryEntry
nil, // 12: EventReq.HeaderEntry
(*Goods)(nil), // 13: protobuf.Goods
(*Orders)(nil), // 14: protobuf.Orders
(*Refunds)(nil), // 15: protobuf.Refunds
nil, // 11: EventReq.MetadataEntry
nil, // 12: EventReq.QueryEntry
nil, // 13: EventReq.HeaderEntry
(*Goods)(nil), // 14: protobuf.Goods
(*Orders)(nil), // 15: protobuf.Orders
(*Refunds)(nil), // 16: protobuf.Refunds
}
var file_org_proto_depIdxs = []int32{
13, // 0: PayReq.Goods:type_name -> protobuf.Goods
14, // 0: PayReq.Goods:type_name -> protobuf.Goods
9, // 1: PayReq.Metadata:type_name -> PayReq.MetadataEntry
10, // 2: RefundReq.Metadata:type_name -> RefundReq.MetadataEntry
11, // 3: EventReq.Query:type_name -> EventReq.QueryEntry
12, // 4: EventReq.Header:type_name -> EventReq.HeaderEntry
14, // 5: EventRes.Orders:type_name -> protobuf.Orders
15, // 6: EventRes.Refunds:type_name -> protobuf.Refunds
7, // 7: Org.Event:input_type -> EventReq
1, // 8: Org.Ping:input_type -> PingReq
4, // 9: Org.Pay:input_type -> PayReq
5, // 10: Org.Refund:input_type -> RefundReq
6, // 11: Org.Revoke:input_type -> QueryReq
6, // 12: Org.QueryOrder:input_type -> QueryReq
6, // 13: Org.QueryRefund:input_type -> QueryReq
14, // 14: Bss.Order:input_type -> protobuf.Orders
8, // 15: Org.Event:output_type -> EventRes
3, // 16: Org.Ping:output_type -> PongRes
14, // 17: Org.Pay:output_type -> protobuf.Orders
15, // 18: Org.Refund:output_type -> protobuf.Refunds
14, // 19: Org.Revoke:output_type -> protobuf.Orders
14, // 20: Org.QueryOrder:output_type -> protobuf.Orders
15, // 21: Org.QueryRefund:output_type -> protobuf.Refunds
14, // 22: Bss.Order:output_type -> protobuf.Orders
15, // [15:23] is the sub-list for method output_type
7, // [7:15] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
11, // 3: EventReq.Metadata:type_name -> EventReq.MetadataEntry
12, // 4: EventReq.Query:type_name -> EventReq.QueryEntry
13, // 5: EventReq.Header:type_name -> EventReq.HeaderEntry
15, // 6: EventRes.Order:type_name -> protobuf.Orders
16, // 7: EventRes.Refund:type_name -> protobuf.Refunds
7, // 8: Org.Event:input_type -> EventReq
1, // 9: Org.Ping:input_type -> PingReq
4, // 10: Org.Pay:input_type -> PayReq
5, // 11: Org.Refund:input_type -> RefundReq
6, // 12: Org.Revoke:input_type -> QueryReq
6, // 13: Org.QueryOrder:input_type -> QueryReq
6, // 14: Org.QueryRefund:input_type -> QueryReq
15, // 15: Bss.Order:input_type -> protobuf.Orders
8, // 16: Org.Event:output_type -> EventRes
3, // 17: Org.Ping:output_type -> PongRes
15, // 18: Org.Pay:output_type -> protobuf.Orders
16, // 19: Org.Refund:output_type -> protobuf.Refunds
15, // 20: Org.Revoke:output_type -> protobuf.Orders
15, // 21: Org.QueryOrder:output_type -> protobuf.Orders
16, // 22: Org.QueryRefund:output_type -> protobuf.Refunds
15, // 23: Bss.Order:output_type -> protobuf.Orders
16, // [16:24] is the sub-list for method output_type
8, // [8:16] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_org_proto_init() }
@ -1087,8 +1094,8 @@ func file_org_proto_init() {
file_orders_proto_init()
file_refunds_proto_init()
file_org_proto_msgTypes[7].OneofWrappers = []any{
(*EventRes_Orders)(nil),
(*EventRes_Refunds)(nil),
(*EventRes_Order)(nil),
(*EventRes_Refund)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
@ -1096,7 +1103,7 @@ func file_org_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_org_proto_rawDesc,
NumEnums: 1,
NumMessages: 12,
NumMessages: 13,
NumExtensions: 0,
NumServices: 2,
},