4
0

update protobuf

This commit is contained in:
dc.To 2025-04-29 16:04:33 +08:00
parent cf1dcf3a7a
commit 1383ab10a8
5 changed files with 241 additions and 147 deletions

View File

@ -31,31 +31,33 @@ type Orders struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` // 主体ID
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` // 渠道标识
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` // 商户订单号
StoreNo string `protobuf:"bytes,7,opt,name=StoreNo,proto3" json:"StoreNo,omitempty" dc:"门店编号"` // 门店编号
TokenNo string `protobuf:"bytes,8,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"TokenId"` // TokenId
DeviceNo string `protobuf:"bytes,9,opt,name=DeviceNo,proto3" json:"DeviceNo,omitempty" dc:"设备编号"` // 设备编号
Via string `protobuf:"bytes,10,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` // 支付方式
Area string `protobuf:"bytes,11,opt,name=Area,proto3" json:"Area,omitempty" dc:"地区"` // 地区
Ccy string `protobuf:"bytes,12,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Amount string `protobuf:"bytes,13,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"金额"` // 金额
Deduct string `protobuf:"bytes,14,opt,name=Deduct,proto3" json:"Deduct,omitempty" dc:"费用/扣款/手续费"` // 费用/扣款/手续费
Amounted string `protobuf:"bytes,15,opt,name=Amounted,proto3" json:"Amounted,omitempty" dc:"实付金额"` // 实付金额
Cheque string `protobuf:"bytes,16,opt,name=Cheque,proto3" json:"Cheque,omitempty" dc:"凭证/回单URL或"` // 凭证/回单URL或
Metadata string `protobuf:"bytes,17,opt,name=Metadata,proto3" json:"Metadata,omitempty" dc:"Meta数据"` // Meta数据
Description string `protobuf:"bytes,18,opt,name=Description,proto3" json:"Description,omitempty" dc:"订单备注/摘要"` // 订单备注/摘要
Context string `protobuf:"bytes,19,opt,name=Context,proto3" json:"Context,omitempty" dc:"渠道上下文>>下一跳/跳转地址/二维码地址或代码"` // 渠道上下文>>下一跳/跳转地址/二维码地址或代码
Response string `protobuf:"bytes,20,opt,name=Response,proto3" json:"Response,omitempty" dc:"订单响应/回调数据"` // 订单响应/回调数据
State int32 `protobuf:"varint,21,opt,name=State,proto3" json:"State,omitempty" dc:"状态:-1=Failure, 0=Pending, 1=Success"` // 状态:-1=Failure, 0=Pending, 1=Success
StateText string `protobuf:"bytes,22,opt,name=StateText,proto3" json:"StateText,omitempty" dc:"状态原文/原因"` // 状态原文/原因
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
SuccessAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=SuccessAt,proto3" json:"SuccessAt,omitempty" dc:"支付完成时间"` // 支付完成时间
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` // 主体ID
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` // 渠道标识
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` // 商户订单号
StoreNo string `protobuf:"bytes,7,opt,name=StoreNo,proto3" json:"StoreNo,omitempty" dc:"门店编号"` // 门店编号
TokenNo string `protobuf:"bytes,8,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"TokenId"` // TokenId
DeviceNo string `protobuf:"bytes,9,opt,name=DeviceNo,proto3" json:"DeviceNo,omitempty" dc:"设备编号"` // 设备编号
Type string `protobuf:"bytes,10,opt,name=Type,proto3" json:"Type,omitempty" dc:"支付类型,如:bank=银行转账,qrcode=扫码支付, online=在线支付"` // 支付类型,如:bank=银行转账,qrcode=扫码支付, online=在线支付
Via string `protobuf:"bytes,11,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` // 支付方式
Area string `protobuf:"bytes,12,opt,name=Area,proto3" json:"Area,omitempty" dc:"国家/地区"` // 国家/地区
Ccy string `protobuf:"bytes,13,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Amount string `protobuf:"bytes,14,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"金额"` // 金额
Deduct string `protobuf:"bytes,15,opt,name=Deduct,proto3" json:"Deduct,omitempty" dc:"费用/扣款/手续费"` // 费用/扣款/手续费
Amounted string `protobuf:"bytes,16,opt,name=Amounted,proto3" json:"Amounted,omitempty" dc:"实付金额"` // 实付金额
Cheque string `protobuf:"bytes,17,opt,name=Cheque,proto3" json:"Cheque,omitempty" dc:"凭证/回单URL或"` // 凭证/回单URL或
Metadata string `protobuf:"bytes,18,opt,name=Metadata,proto3" json:"Metadata,omitempty" dc:"Meta数据/额外数据"` // Meta数据/额外数据
Description string `protobuf:"bytes,19,opt,name=Description,proto3" json:"Description,omitempty" dc:"订单备注/摘要"` // 订单备注/摘要
Context string `protobuf:"bytes,20,opt,name=Context,proto3" json:"Context,omitempty" dc:"支付上下文>>二维码或代码"` // 支付上下文>>二维码或代码
Redirect string `protobuf:"bytes,21,opt,name=Redirect,proto3" json:"Redirect,omitempty" dc:"支付下一跳>>跳转地址/支付网关URL"` // 支付下一跳>>跳转地址/支付网关URL
Response string `protobuf:"bytes,22,opt,name=Response,proto3" json:"Response,omitempty" dc:"订单响应/回调数据"` // 订单响应/回调数据
State int32 `protobuf:"varint,23,opt,name=State,proto3" json:"State,omitempty" dc:"状态:-1=Failure, 0=Pending, 1=Success"` // 状态:-1=Failure, 0=Pending, 1=Success
StateText string `protobuf:"bytes,24,opt,name=StateText,proto3" json:"StateText,omitempty" dc:"状态原文/原因"` // 状态原文/原因
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
SuccessAt *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=SuccessAt,proto3" json:"SuccessAt,omitempty" dc:"支付完成时间"` // 支付完成时间
}
func (x *Orders) Reset() {
@ -151,6 +153,13 @@ func (x *Orders) GetDeviceNo() string {
return ""
}
func (x *Orders) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Orders) GetVia() string {
if x != nil {
return x.Via
@ -221,6 +230,13 @@ func (x *Orders) GetContext() string {
return ""
}
func (x *Orders) GetRedirect() string {
if x != nil {
return x.Redirect
}
return ""
}
func (x *Orders) GetResponse() string {
if x != nil {
return x.Response
@ -269,7 +285,7 @@ var file_orders_proto_rawDesc = []byte{
0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x05, 0x0a, 0x06, 0x4f, 0x72,
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x05, 0x0a, 0x06, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x03, 0x20,
@ -282,36 +298,39 @@ var file_orders_proto_rawDesc = []byte{
0x72, 0x65, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x6f, 0x18,
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 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, 0x10, 0x0a, 0x03, 0x56, 0x69,
0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x69, 0x61, 0x12, 0x12, 0x0a, 0x04,
0x41, 0x72, 0x65, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x41, 0x72, 0x65, 0x61,
0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x43,
0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x65,
0x64, 0x75, 0x63, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x65, 0x64, 0x75,
0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x0f,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x16,
0x0a, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18,
0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1a,
0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79,
0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10,
0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x69, 0x61,
0x12, 0x12, 0x0a, 0x04, 0x41, 0x72, 0x65, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x41, 0x72, 0x65, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x43, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16,
0x0a, 0x06, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x78, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65,
0x78, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x15,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1a,
0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74,
0x61, 0x74, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x18, 0x16, 0x20,
0x61, 0x74, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x18, 0x18, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78, 0x74, 0x12, 0x38,
0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28,
0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x74, 0x18,
0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x52, 0x09, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x74, 0x42, 0x25, 0x5a, 0x23,
0x67, 0x69, 0x74, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x69, 0x6f, 0x2e, 0x63, 0x6e, 0x2f, 0x6c,

View File

@ -1027,7 +1027,7 @@ var file_org_proto_rawDesc = []byte{
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,
0x12, 0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x32, 0x8c, 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,
@ -1036,22 +1036,25 @@ var file_org_proto_rawDesc = []byte{
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,
0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x52,
0x65, 0x76, 0x6f, 0x6b, 0x65, 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, 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, 0x6a, 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, 0x12, 0x32, 0x0a, 0x06, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x11,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
0x73, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66,
0x75, 0x6e, 0x64, 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 (
@ -1102,20 +1105,22 @@ var file_org_proto_depIdxs = []int32{
1, // 10: Org.Ping:input_type -> PingReq
4, // 11: Org.Pay:input_type -> PayReq
5, // 12: Org.Refund:input_type -> RefundReq
6, // 13: Org.Revoke:input_type -> QueryReq
5, // 13: Org.Revoke:input_type -> RefundReq
6, // 14: Org.QueryOrder:input_type -> QueryReq
6, // 15: Org.QueryRefund:input_type -> QueryReq
16, // 16: Bss.Order:input_type -> protobuf.Orders
8, // 17: Org.Event:output_type -> EventRes
3, // 18: Org.Ping:output_type -> PongRes
16, // 19: Org.Pay:output_type -> protobuf.Orders
17, // 20: Org.Refund:output_type -> protobuf.Refunds
16, // 21: Org.Revoke:output_type -> protobuf.Orders
16, // 22: Org.QueryOrder:output_type -> protobuf.Orders
17, // 23: Org.QueryRefund:output_type -> protobuf.Refunds
16, // 24: Bss.Order:output_type -> protobuf.Orders
17, // [17:25] is the sub-list for method output_type
9, // [9:17] is the sub-list for method input_type
17, // 17: Bss.Refund:input_type -> protobuf.Refunds
8, // 18: Org.Event:output_type -> EventRes
3, // 19: Org.Ping:output_type -> PongRes
16, // 20: Org.Pay:output_type -> protobuf.Orders
17, // 21: Org.Refund:output_type -> protobuf.Refunds
17, // 22: Org.Revoke:output_type -> protobuf.Refunds
16, // 23: Org.QueryOrder:output_type -> protobuf.Orders
17, // 24: Org.QueryRefund:output_type -> protobuf.Refunds
16, // 25: Bss.Order:output_type -> protobuf.Orders
17, // 26: Bss.Refund:output_type -> protobuf.Refunds
18, // [18:27] is the sub-list for method output_type
9, // [9:18] is the sub-list for method input_type
9, // [9:9] is the sub-list for extension type_name
9, // [9:9] is the sub-list for extension extendee
0, // [0:9] is the sub-list for field type_name

View File

@ -37,7 +37,7 @@ type OrgClient interface {
Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PongRes, error)
Pay(ctx context.Context, in *PayReq, opts ...grpc.CallOption) (*Orders, error)
Refund(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Refunds, error)
Revoke(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*Orders, error)
Revoke(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Refunds, error)
QueryOrder(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*Orders, error)
QueryRefund(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*Refunds, error)
}
@ -90,9 +90,9 @@ func (c *orgClient) Refund(ctx context.Context, in *RefundReq, opts ...grpc.Call
return out, nil
}
func (c *orgClient) Revoke(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*Orders, error) {
func (c *orgClient) Revoke(ctx context.Context, in *RefundReq, opts ...grpc.CallOption) (*Refunds, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(Orders)
out := new(Refunds)
err := c.cc.Invoke(ctx, Org_Revoke_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -128,7 +128,7 @@ type OrgServer interface {
Ping(context.Context, *PingReq) (*PongRes, error)
Pay(context.Context, *PayReq) (*Orders, error)
Refund(context.Context, *RefundReq) (*Refunds, error)
Revoke(context.Context, *QueryReq) (*Orders, error)
Revoke(context.Context, *RefundReq) (*Refunds, error)
QueryOrder(context.Context, *QueryReq) (*Orders, error)
QueryRefund(context.Context, *QueryReq) (*Refunds, error)
mustEmbedUnimplementedOrgServer()
@ -153,7 +153,7 @@ func (UnimplementedOrgServer) Pay(context.Context, *PayReq) (*Orders, error) {
func (UnimplementedOrgServer) Refund(context.Context, *RefundReq) (*Refunds, error) {
return nil, status.Errorf(codes.Unimplemented, "method Refund not implemented")
}
func (UnimplementedOrgServer) Revoke(context.Context, *QueryReq) (*Orders, error) {
func (UnimplementedOrgServer) Revoke(context.Context, *RefundReq) (*Refunds, error) {
return nil, status.Errorf(codes.Unimplemented, "method Revoke not implemented")
}
func (UnimplementedOrgServer) QueryOrder(context.Context, *QueryReq) (*Orders, error) {
@ -256,7 +256,7 @@ func _Org_Refund_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
func _Org_Revoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryReq)
in := new(RefundReq)
if err := dec(in); err != nil {
return nil, err
}
@ -268,7 +268,7 @@ func _Org_Revoke_Handler(srv interface{}, ctx context.Context, dec func(interfac
FullMethod: Org_Revoke_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrgServer).Revoke(ctx, req.(*QueryReq))
return srv.(OrgServer).Revoke(ctx, req.(*RefundReq))
}
return interceptor(ctx, in, info, handler)
}
@ -350,7 +350,8 @@ var Org_ServiceDesc = grpc.ServiceDesc{
}
const (
Bss_Order_FullMethodName = "/Bss/Order"
Bss_Order_FullMethodName = "/Bss/Order"
Bss_Refund_FullMethodName = "/Bss/Refund"
)
// BssClient is the client API for Bss service.
@ -359,6 +360,7 @@ const (
type BssClient interface {
// rpc Event(stream protobuf.Orders) returns (); //事件通知
Order(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Orders, Orders], error)
Refund(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Refunds, Refunds], error)
}
type bssClient struct {
@ -382,12 +384,26 @@ func (c *bssClient) Order(ctx context.Context, opts ...grpc.CallOption) (grpc.Bi
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Bss_OrderClient = grpc.BidiStreamingClient[Orders, Orders]
func (c *bssClient) Refund(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Refunds, Refunds], error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
stream, err := c.cc.NewStream(ctx, &Bss_ServiceDesc.Streams[1], Bss_Refund_FullMethodName, cOpts...)
if err != nil {
return nil, err
}
x := &grpc.GenericClientStream[Refunds, Refunds]{ClientStream: stream}
return x, nil
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Bss_RefundClient = grpc.BidiStreamingClient[Refunds, Refunds]
// BssServer is the server API for Bss service.
// All implementations must embed UnimplementedBssServer
// for forward compatibility.
type BssServer interface {
// rpc Event(stream protobuf.Orders) returns (); //事件通知
Order(grpc.BidiStreamingServer[Orders, Orders]) error
Refund(grpc.BidiStreamingServer[Refunds, Refunds]) error
mustEmbedUnimplementedBssServer()
}
@ -401,6 +417,9 @@ type UnimplementedBssServer struct{}
func (UnimplementedBssServer) Order(grpc.BidiStreamingServer[Orders, Orders]) error {
return status.Errorf(codes.Unimplemented, "method Order not implemented")
}
func (UnimplementedBssServer) Refund(grpc.BidiStreamingServer[Refunds, Refunds]) error {
return status.Errorf(codes.Unimplemented, "method Refund not implemented")
}
func (UnimplementedBssServer) mustEmbedUnimplementedBssServer() {}
func (UnimplementedBssServer) testEmbeddedByValue() {}
@ -429,6 +448,13 @@ func _Bss_Order_Handler(srv interface{}, stream grpc.ServerStream) error {
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Bss_OrderServer = grpc.BidiStreamingServer[Orders, Orders]
func _Bss_Refund_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(BssServer).Refund(&grpc.GenericServerStream[Refunds, Refunds]{ServerStream: stream})
}
// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Bss_RefundServer = grpc.BidiStreamingServer[Refunds, Refunds]
// Bss_ServiceDesc is the grpc.ServiceDesc for Bss service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
@ -443,6 +469,12 @@ var Bss_ServiceDesc = grpc.ServiceDesc{
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "Refund",
Handler: _Bss_Refund_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "org.proto",
}

View File

@ -37,22 +37,24 @@ type Refunds struct {
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` // 渠道标识
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` // 商户订单号
RefundNo string `protobuf:"bytes,7,opt,name=RefundNo,proto3" json:"RefundNo,omitempty" dc:"退单号"` // 退单号
TokenNo string `protobuf:"bytes,8,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"退款凭证号"` // 退款凭证号
Via string `protobuf:"bytes,9,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` // 支付方式
Ccy string `protobuf:"bytes,10,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Deduct string `protobuf:"bytes,11,opt,name=Deduct,proto3" json:"Deduct,omitempty" dc:"费用/扣款/手续费"` // 费用/扣款/手续费
Amount string `protobuf:"bytes,12,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"退款金额"` // 退款金额
Cheque string `protobuf:"bytes,13,opt,name=Cheque,proto3" json:"Cheque,omitempty" dc:"凭证/回单"` // 凭证/回单
Goods string `protobuf:"bytes,14,opt,name=Goods,proto3" json:"Goods,omitempty" dc:"退单货品ID"` // 退单货品ID
Metadata string `protobuf:"bytes,15,opt,name=Metadata,proto3" json:"Metadata,omitempty" dc:"Meta数据"` // Meta数据
Description string `protobuf:"bytes,16,opt,name=Description,proto3" json:"Description,omitempty" dc:"退款原因/备注/描述"` // 退款原因/备注/描述
Response string `protobuf:"bytes,17,opt,name=Response,proto3" json:"Response,omitempty" dc:"响应/回调数据"` // 响应/回调数据
State int32 `protobuf:"varint,18,opt,name=State,proto3" json:"State,omitempty" dc:"状态:-1=Failure, 0=Pending, 1=Success"` // 状态:-1=Failure, 0=Pending, 1=Success
StateText string `protobuf:"bytes,19,opt,name=StateText,proto3" json:"StateText,omitempty" dc:"状态原文/原因"` // 状态原文/原因
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
SuccessAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=SuccessAt,proto3" json:"SuccessAt,omitempty" dc:"退单完成时间"` // 退单完成时间
TokenNo string `protobuf:"bytes,7,opt,name=TokenNo,proto3" json:"TokenNo,omitempty" dc:"退款凭证号"` // 退款凭证号
RefundNo string `protobuf:"bytes,8,opt,name=RefundNo,proto3" json:"RefundNo,omitempty" dc:"退单号"` // 退单号
Type string `protobuf:"bytes,9,opt,name=Type,proto3" json:"Type,omitempty" dc:"退单类型 Refund=退款/Revoke=撤销"` // 退单类型 Refund=退款/Revoke=撤销
Via string `protobuf:"bytes,10,opt,name=Via,proto3" json:"Via,omitempty" dc:"支付方式"` // 支付方式
Ccy string `protobuf:"bytes,11,opt,name=Ccy,proto3" json:"Ccy,omitempty" dc:"币种"` // 币种
Deduct string `protobuf:"bytes,12,opt,name=Deduct,proto3" json:"Deduct,omitempty" dc:"费用/扣款/手续费"` // 费用/扣款/手续费
Amount string `protobuf:"bytes,13,opt,name=Amount,proto3" json:"Amount,omitempty" dc:"退单金额"` // 退单金额
Amounted string `protobuf:"bytes,14,opt,name=Amounted,proto3" json:"Amounted,omitempty" dc:"实际退款"` // 实际退款
Cheque string `protobuf:"bytes,15,opt,name=Cheque,proto3" json:"Cheque,omitempty" dc:"凭证/回单"` // 凭证/回单
Goods string `protobuf:"bytes,16,opt,name=Goods,proto3" json:"Goods,omitempty" dc:"退单货品ID"` // 退单货品ID
Metadata string `protobuf:"bytes,17,opt,name=Metadata,proto3" json:"Metadata,omitempty" dc:"Meta数据"` // Meta数据
Description string `protobuf:"bytes,18,opt,name=Description,proto3" json:"Description,omitempty" dc:"退款原因/备注/描述"` // 退款原因/备注/描述
Response string `protobuf:"bytes,19,opt,name=Response,proto3" json:"Response,omitempty" dc:"响应数据"` // 响应数据
State int32 `protobuf:"varint,20,opt,name=State,proto3" json:"State,omitempty" dc:"状态:-1=Failure, 0=Pending, 1=Success"` // 状态:-1=Failure, 0=Pending, 1=Success
StateText string `protobuf:"bytes,21,opt,name=StateText,proto3" json:"StateText,omitempty" dc:"状态原文/原因"` // 状态原文/原因
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
SuccessAt *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=SuccessAt,proto3" json:"SuccessAt,omitempty" dc:"退单完成时间"` // 退单完成时间
}
func (x *Refunds) Reset() {
@ -127,6 +129,13 @@ func (x *Refunds) GetOrderNo() string {
return ""
}
func (x *Refunds) GetTokenNo() string {
if x != nil {
return x.TokenNo
}
return ""
}
func (x *Refunds) GetRefundNo() string {
if x != nil {
return x.RefundNo
@ -134,9 +143,9 @@ func (x *Refunds) GetRefundNo() string {
return ""
}
func (x *Refunds) GetTokenNo() string {
func (x *Refunds) GetType() string {
if x != nil {
return x.TokenNo
return x.Type
}
return ""
}
@ -169,6 +178,13 @@ func (x *Refunds) GetAmount() string {
return ""
}
func (x *Refunds) GetAmounted() string {
if x != nil {
return x.Amounted
}
return ""
}
func (x *Refunds) GetCheque() string {
if x != nil {
return x.Cheque
@ -245,7 +261,7 @@ var file_refunds_proto_rawDesc = []byte{
0x0a, 0x0d, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf3, 0x04, 0x0a, 0x07, 0x52,
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x05, 0x0a, 0x07, 0x52,
0x65, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18,
@ -253,36 +269,39 @@ var file_refunds_proto_rawDesc = []byte{
0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05,
0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x72, 0x67,
0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18, 0x06, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08,
0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x6f, 0x6b, 0x65,
0x6e, 0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x4e, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x56, 0x69, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x43, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x12, 0x16,
0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65,
0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x47,
0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07,
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x54,
0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
0x4e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
0x4e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x69, 0x61, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x69, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x63, 0x79, 0x18,
0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x43, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x65,
0x64, 0x75, 0x63, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x65, 0x64, 0x75,
0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65,
0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x68, 0x65, 0x71, 0x75, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x12, 0x20, 0x0a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x11,
0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x13,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53,
0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53,
0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x78,
0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65,
0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65,
0x78, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18,
0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x41, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x73, 0x41, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x74,
0x42, 0x25, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x69, 0x6f, 0x2e,

View File

@ -33,12 +33,14 @@ type Trackings struct {
Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //
Kid uint64 `protobuf:"varint,2,opt,name=Kid,proto3" json:"Kid,omitempty" dc:"主体ID"` // 主体ID
Org string `protobuf:"bytes,3,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` // 渠道标识
OrgNo string `protobuf:"bytes,4,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,5,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` // 商户订单号
Context string `protobuf:"bytes,6,opt,name=Context,proto3" json:"Context,omitempty" dc:"上下文"` // 上下文
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
Uid string `protobuf:"bytes,3,opt,name=Uid,proto3" json:"Uid,omitempty" dc:"用户ID"` // 用户ID
Org string `protobuf:"bytes,4,opt,name=Org,proto3" json:"Org,omitempty" dc:"渠道标识"` // 渠道标识
OrgNo string `protobuf:"bytes,5,opt,name=OrgNo,proto3" json:"OrgNo,omitempty" dc:"渠道订单号"` // 渠道订单号
OrderNo string `protobuf:"bytes,6,opt,name=OrderNo,proto3" json:"OrderNo,omitempty" dc:"商户订单号"` // 商户订单号
Action string `protobuf:"bytes,7,opt,name=Action,proto3" json:"Action,omitempty" dc:"动作"` // 动作
Content string `protobuf:"bytes,8,opt,name=Content,proto3" json:"Content,omitempty" dc:"内容"` // 内容
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
}
func (x *Trackings) Reset() {
@ -85,6 +87,13 @@ func (x *Trackings) GetKid() uint64 {
return 0
}
func (x *Trackings) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *Trackings) GetOrg() string {
if x != nil {
return x.Org
@ -106,9 +115,16 @@ func (x *Trackings) GetOrderNo() string {
return ""
}
func (x *Trackings) GetContext() string {
func (x *Trackings) GetAction() string {
if x != nil {
return x.Context
return x.Action
}
return ""
}
func (x *Trackings) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
@ -133,26 +149,29 @@ var file_trackings_proto_rawDesc = []byte{
0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x01, 0x0a,
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a,
0x09, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x4b, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
0x4f, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72, 0x67, 0x12, 0x14,
0x0a, 0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f,
0x72, 0x67, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x12, 0x18,
0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18,
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x55, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12, 0x10,
0x0a, 0x03, 0x4f, 0x72, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4f, 0x72, 0x67,
0x12, 0x14, 0x0a, 0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x4f, 0x72, 0x67, 0x4e, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e,
0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f,
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, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65,
0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18,
0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
0x70, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 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,
0x70, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 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 (