refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.8
|
||||
// protoc (unknown)
|
||||
// source: alipay.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/finance/wallet/proto/alipay.proto
|
||||
|
||||
package wallet
|
||||
|
||||
@@ -34,7 +34,7 @@ type AlipayTradeWapPayRequest struct {
|
||||
|
||||
func (x *AlipayTradeWapPayRequest) Reset() {
|
||||
*x = AlipayTradeWapPayRequest{}
|
||||
mi := &file_alipay_proto_msgTypes[0]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -46,7 +46,7 @@ func (x *AlipayTradeWapPayRequest) String() string {
|
||||
func (*AlipayTradeWapPayRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradeWapPayRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[0]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -59,7 +59,7 @@ func (x *AlipayTradeWapPayRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradeWapPayRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradeWapPayRequest) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *AlipayTradeWapPayRequest) GetUserIdentification() string {
|
||||
@@ -106,7 +106,7 @@ type AlipayTradeWapPayReply struct {
|
||||
|
||||
func (x *AlipayTradeWapPayReply) Reset() {
|
||||
*x = AlipayTradeWapPayReply{}
|
||||
mi := &file_alipay_proto_msgTypes[1]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -118,7 +118,7 @@ func (x *AlipayTradeWapPayReply) String() string {
|
||||
func (*AlipayTradeWapPayReply) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradeWapPayReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[1]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -131,7 +131,7 @@ func (x *AlipayTradeWapPayReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradeWapPayReply.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradeWapPayReply) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *AlipayTradeWapPayReply) GetPayUrl() string {
|
||||
@@ -154,7 +154,7 @@ type AlipayTradePagePayRequest struct {
|
||||
|
||||
func (x *AlipayTradePagePayRequest) Reset() {
|
||||
*x = AlipayTradePagePayRequest{}
|
||||
mi := &file_alipay_proto_msgTypes[2]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -166,7 +166,7 @@ func (x *AlipayTradePagePayRequest) String() string {
|
||||
func (*AlipayTradePagePayRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradePagePayRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[2]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -179,7 +179,7 @@ func (x *AlipayTradePagePayRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradePagePayRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradePagePayRequest) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *AlipayTradePagePayRequest) GetUserIdentification() string {
|
||||
@@ -226,7 +226,7 @@ type AlipayTradePagePayReply struct {
|
||||
|
||||
func (x *AlipayTradePagePayReply) Reset() {
|
||||
*x = AlipayTradePagePayReply{}
|
||||
mi := &file_alipay_proto_msgTypes[3]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -238,7 +238,7 @@ func (x *AlipayTradePagePayReply) String() string {
|
||||
func (*AlipayTradePagePayReply) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradePagePayReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[3]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -251,7 +251,7 @@ func (x *AlipayTradePagePayReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradePagePayReply.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradePagePayReply) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *AlipayTradePagePayReply) GetPayUrl() string {
|
||||
@@ -273,7 +273,7 @@ type AlipayTradeAppPayRequest struct {
|
||||
|
||||
func (x *AlipayTradeAppPayRequest) Reset() {
|
||||
*x = AlipayTradeAppPayRequest{}
|
||||
mi := &file_alipay_proto_msgTypes[4]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -285,7 +285,7 @@ func (x *AlipayTradeAppPayRequest) String() string {
|
||||
func (*AlipayTradeAppPayRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradeAppPayRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[4]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -298,7 +298,7 @@ func (x *AlipayTradeAppPayRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradeAppPayRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradeAppPayRequest) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *AlipayTradeAppPayRequest) GetUserIdentification() string {
|
||||
@@ -338,7 +338,7 @@ type AlipayTradeAppPayReply struct {
|
||||
|
||||
func (x *AlipayTradeAppPayReply) Reset() {
|
||||
*x = AlipayTradeAppPayReply{}
|
||||
mi := &file_alipay_proto_msgTypes[5]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -350,7 +350,7 @@ func (x *AlipayTradeAppPayReply) String() string {
|
||||
func (*AlipayTradeAppPayReply) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayTradeAppPayReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[5]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -363,7 +363,7 @@ func (x *AlipayTradeAppPayReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayTradeAppPayReply.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayTradeAppPayReply) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{5}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *AlipayTradeAppPayReply) GetPayParam() string {
|
||||
@@ -385,7 +385,7 @@ type AlipayUniTransferRequest struct {
|
||||
|
||||
func (x *AlipayUniTransferRequest) Reset() {
|
||||
*x = AlipayUniTransferRequest{}
|
||||
mi := &file_alipay_proto_msgTypes[6]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -397,7 +397,7 @@ func (x *AlipayUniTransferRequest) String() string {
|
||||
func (*AlipayUniTransferRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayUniTransferRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[6]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -410,7 +410,7 @@ func (x *AlipayUniTransferRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayUniTransferRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayUniTransferRequest) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{6}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *AlipayUniTransferRequest) GetUserIdentification() string {
|
||||
@@ -449,7 +449,7 @@ type AlipayUniTransferReply struct {
|
||||
|
||||
func (x *AlipayUniTransferReply) Reset() {
|
||||
*x = AlipayUniTransferReply{}
|
||||
mi := &file_alipay_proto_msgTypes[7]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -461,7 +461,7 @@ func (x *AlipayUniTransferReply) String() string {
|
||||
func (*AlipayUniTransferReply) ProtoMessage() {}
|
||||
|
||||
func (x *AlipayUniTransferReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_alipay_proto_msgTypes[7]
|
||||
mi := &file_module_finance_wallet_proto_alipay_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -474,14 +474,14 @@ func (x *AlipayUniTransferReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AlipayUniTransferReply.ProtoReflect.Descriptor instead.
|
||||
func (*AlipayUniTransferReply) Descriptor() ([]byte, []int) {
|
||||
return file_alipay_proto_rawDescGZIP(), []int{7}
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
var File_alipay_proto protoreflect.FileDescriptor
|
||||
var File_module_finance_wallet_proto_alipay_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_alipay_proto_rawDesc = "" +
|
||||
const file_module_finance_wallet_proto_alipay_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bfinance/wallet/alipay.proto\x12\x06wallet\"\xbf\x01\n" +
|
||||
"(module/finance/wallet/proto/alipay.proto\x12\x06wallet\"\xbf\x01\n" +
|
||||
"\x18AlipayTradeWapPayRequest\x12/\n" +
|
||||
"\x13user_identification\x18\x01 \x01(\tR\x12userIdentification\x12\x16\n" +
|
||||
"\x06amount\x18\x02 \x01(\x03R\x06amount\x12 \n" +
|
||||
@@ -519,23 +519,22 @@ const file_alipay_proto_rawDesc = "" +
|
||||
"\x06WapPay\x12 .wallet.AlipayTradeWapPayRequest\x1a\x1e.wallet.AlipayTradeWapPayReply\"\x00\x12O\n" +
|
||||
"\aPagePay\x12!.wallet.AlipayTradePagePayRequest\x1a\x1f.wallet.AlipayTradePagePayReply\"\x00\x12L\n" +
|
||||
"\x06AppPay\x12 .wallet.AlipayTradeAppPayRequest\x1a\x1e.wallet.AlipayTradeAppPayReply\"\x00\x12N\n" +
|
||||
"\bTransfer\x12 .wallet.AlipayUniTransferRequest\x1a\x1e.wallet.AlipayUniTransferReply\"\x00B\n" +
|
||||
"Z\b.;walletb\x06proto3"
|
||||
"\bTransfer\x12 .wallet.AlipayUniTransferRequest\x1a\x1e.wallet.AlipayUniTransferReply\"\x00B*Z(bsm/full/module/finance/wallet/pb;walletb\x06proto3"
|
||||
|
||||
var (
|
||||
file_alipay_proto_rawDescOnce sync.Once
|
||||
file_alipay_proto_rawDescData []byte
|
||||
file_module_finance_wallet_proto_alipay_proto_rawDescOnce sync.Once
|
||||
file_module_finance_wallet_proto_alipay_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_alipay_proto_rawDescGZIP() []byte {
|
||||
file_alipay_proto_rawDescOnce.Do(func() {
|
||||
file_alipay_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_alipay_proto_rawDesc), len(file_alipay_proto_rawDesc)))
|
||||
func file_module_finance_wallet_proto_alipay_proto_rawDescGZIP() []byte {
|
||||
file_module_finance_wallet_proto_alipay_proto_rawDescOnce.Do(func() {
|
||||
file_module_finance_wallet_proto_alipay_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_alipay_proto_rawDesc), len(file_module_finance_wallet_proto_alipay_proto_rawDesc)))
|
||||
})
|
||||
return file_alipay_proto_rawDescData
|
||||
return file_module_finance_wallet_proto_alipay_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_alipay_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_alipay_proto_goTypes = []any{
|
||||
var file_module_finance_wallet_proto_alipay_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_module_finance_wallet_proto_alipay_proto_goTypes = []any{
|
||||
(*AlipayTradeWapPayRequest)(nil), // 0: wallet.AlipayTradeWapPayRequest
|
||||
(*AlipayTradeWapPayReply)(nil), // 1: wallet.AlipayTradeWapPayReply
|
||||
(*AlipayTradePagePayRequest)(nil), // 2: wallet.AlipayTradePagePayRequest
|
||||
@@ -545,7 +544,7 @@ var file_alipay_proto_goTypes = []any{
|
||||
(*AlipayUniTransferRequest)(nil), // 6: wallet.AlipayUniTransferRequest
|
||||
(*AlipayUniTransferReply)(nil), // 7: wallet.AlipayUniTransferReply
|
||||
}
|
||||
var file_alipay_proto_depIdxs = []int32{
|
||||
var file_module_finance_wallet_proto_alipay_proto_depIdxs = []int32{
|
||||
0, // 0: wallet.Alipay.WapPay:input_type -> wallet.AlipayTradeWapPayRequest
|
||||
2, // 1: wallet.Alipay.PagePay:input_type -> wallet.AlipayTradePagePayRequest
|
||||
4, // 2: wallet.Alipay.AppPay:input_type -> wallet.AlipayTradeAppPayRequest
|
||||
@@ -561,26 +560,26 @@ var file_alipay_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_alipay_proto_init() }
|
||||
func file_alipay_proto_init() {
|
||||
if File_alipay_proto != nil {
|
||||
func init() { file_module_finance_wallet_proto_alipay_proto_init() }
|
||||
func file_module_finance_wallet_proto_alipay_proto_init() {
|
||||
if File_module_finance_wallet_proto_alipay_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_alipay_proto_rawDesc), len(file_alipay_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_finance_wallet_proto_alipay_proto_rawDesc), len(file_module_finance_wallet_proto_alipay_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_alipay_proto_goTypes,
|
||||
DependencyIndexes: file_alipay_proto_depIdxs,
|
||||
MessageInfos: file_alipay_proto_msgTypes,
|
||||
GoTypes: file_module_finance_wallet_proto_alipay_proto_goTypes,
|
||||
DependencyIndexes: file_module_finance_wallet_proto_alipay_proto_depIdxs,
|
||||
MessageInfos: file_module_finance_wallet_proto_alipay_proto_msgTypes,
|
||||
}.Build()
|
||||
File_alipay_proto = out.File
|
||||
file_alipay_proto_goTypes = nil
|
||||
file_alipay_proto_depIdxs = nil
|
||||
File_module_finance_wallet_proto_alipay_proto = out.File
|
||||
file_module_finance_wallet_proto_alipay_proto_goTypes = nil
|
||||
file_module_finance_wallet_proto_alipay_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user