You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1006 lines
30 KiB
1006 lines
30 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.21.12
|
|
// source: customer.proto
|
|
|
|
package dto
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type LoginRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
}
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
*x = LoginRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LoginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LoginRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SmsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
}
|
|
|
|
func (x *SmsRequest) Reset() {
|
|
*x = SmsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SmsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SmsRequest) ProtoMessage() {}
|
|
|
|
func (x *SmsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_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 SmsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SmsRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SmsRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //账户绑定手机号
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` //验证码
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"` //提现金额
|
|
AccountID int32 `protobuf:"varint,4,opt,name=accountID,proto3" json:"accountID,omitempty"` //账户id
|
|
}
|
|
|
|
func (x *WithdrawRequest) Reset() {
|
|
*x = WithdrawRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WithdrawRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WithdrawRequest) ProtoMessage() {}
|
|
|
|
func (x *WithdrawRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[2]
|
|
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 WithdrawRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *WithdrawRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WithdrawRequest) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WithdrawRequest) GetAccountID() int32 {
|
|
if x != nil {
|
|
return x.AccountID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateAddressRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FirstName string `protobuf:"bytes,1,opt,name=firstName,proto3" json:"firstName,omitempty"`
|
|
LastName string `protobuf:"bytes,2,opt,name=lastName,proto3" json:"lastName,omitempty"`
|
|
Street string `protobuf:"bytes,3,opt,name=street,proto3" json:"street,omitempty"`
|
|
Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
Bldg string `protobuf:"bytes,5,opt,name=bldg,proto3" json:"bldg,omitempty"`
|
|
City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"`
|
|
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
|
|
ZipCode string `protobuf:"bytes,8,opt,name=zipCode,proto3" json:"zipCode,omitempty"`
|
|
Default int32 `protobuf:"varint,9,opt,name=default,proto3" json:"default,omitempty"`
|
|
}
|
|
|
|
func (x *CreateAddressRequest) Reset() {
|
|
*x = CreateAddressRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[3]
|
|
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 CreateAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetFirstName() string {
|
|
if x != nil {
|
|
return x.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetLastName() string {
|
|
if x != nil {
|
|
return x.LastName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetStreet() string {
|
|
if x != nil {
|
|
return x.Street
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetBldg() string {
|
|
if x != nil {
|
|
return x.Bldg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetZipCode() string {
|
|
if x != nil {
|
|
return x.ZipCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAddressRequest) GetDefault() int32 {
|
|
if x != nil {
|
|
return x.Default
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateAddressRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
|
|
LastName string `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"`
|
|
Street string `protobuf:"bytes,4,opt,name=street,proto3" json:"street,omitempty"`
|
|
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
Bldg string `protobuf:"bytes,6,opt,name=bldg,proto3" json:"bldg,omitempty"`
|
|
City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"`
|
|
State string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"`
|
|
ZipCode string `protobuf:"bytes,9,opt,name=zipCode,proto3" json:"zipCode,omitempty"`
|
|
Default int32 `protobuf:"varint,10,opt,name=default,proto3" json:"default,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) Reset() {
|
|
*x = UpdateAddressRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_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 UpdateAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetFirstName() string {
|
|
if x != nil {
|
|
return x.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetLastName() string {
|
|
if x != nil {
|
|
return x.LastName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetStreet() string {
|
|
if x != nil {
|
|
return x.Street
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetBldg() string {
|
|
if x != nil {
|
|
return x.Bldg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetZipCode() string {
|
|
if x != nil {
|
|
return x.ZipCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddressRequest) GetDefault() int32 {
|
|
if x != nil {
|
|
return x.Default
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type IdRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *IdRequest) Reset() {
|
|
*x = IdRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdRequest) ProtoMessage() {}
|
|
|
|
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[5]
|
|
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 IdRequest.ProtoReflect.Descriptor instead.
|
|
func (*IdRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *IdRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateOrderRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // 网红领取任务码
|
|
SkuID int32 `protobuf:"varint,2,opt,name=skuID,proto3" json:"skuID,omitempty"` // skuId
|
|
Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // 购买数量
|
|
AddressID int32 `protobuf:"varint,4,opt,name=addressID,proto3" json:"addressID,omitempty"` // 地址id
|
|
PayMode int32 `protobuf:"varint,5,opt,name=payMode,proto3" json:"payMode,omitempty"` // 支付方式 1:paypal
|
|
Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
}
|
|
|
|
func (x *CreateOrderRequest) Reset() {
|
|
*x = CreateOrderRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[6]
|
|
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 CreateOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetSkuID() int32 {
|
|
if x != nil {
|
|
return x.SkuID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetNumber() int32 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetAddressID() int32 {
|
|
if x != nil {
|
|
return x.AddressID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetPayMode() int32 {
|
|
if x != nil {
|
|
return x.PayMode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PaybackBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Attach string `protobuf:"bytes,1,opt,name=attach,proto3" json:"attach,omitempty"`
|
|
OutTradeNo string `protobuf:"bytes,2,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
|
|
TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
|
PayId string `protobuf:"bytes,4,opt,name=pay_id,json=payId,proto3" json:"pay_id,omitempty"`
|
|
CaptureId string `protobuf:"bytes,5,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
|
|
ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
|
}
|
|
|
|
func (x *PaybackBody) Reset() {
|
|
*x = PaybackBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PaybackBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PaybackBody) ProtoMessage() {}
|
|
|
|
func (x *PaybackBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[7]
|
|
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 PaybackBody.ProtoReflect.Descriptor instead.
|
|
func (*PaybackBody) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *PaybackBody) GetAttach() string {
|
|
if x != nil {
|
|
return x.Attach
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetOutTradeNo() string {
|
|
if x != nil {
|
|
return x.OutTradeNo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetTransactionId() string {
|
|
if x != nil {
|
|
return x.TransactionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetPayId() string {
|
|
if x != nil {
|
|
return x.PayId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetCaptureId() string {
|
|
if x != nil {
|
|
return x.CaptureId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaybackBody) GetResourceType() string {
|
|
if x != nil {
|
|
return x.ResourceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrderData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
All int64 `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` // 全部
|
|
Unpaid int64 `protobuf:"varint,2,opt,name=unpaid,proto3" json:"unpaid,omitempty"` // 未付款
|
|
Unship int64 `protobuf:"varint,3,opt,name=unship,proto3" json:"unship,omitempty"` // 待发货
|
|
Shipped int64 `protobuf:"varint,4,opt,name=shipped,proto3" json:"shipped,omitempty"` // 已发货
|
|
Finished int64 `protobuf:"varint,5,opt,name=finished,proto3" json:"finished,omitempty"` // 已完成
|
|
Cancel int64 `protobuf:"varint,6,opt,name=cancel,proto3" json:"cancel,omitempty"` // 已取消
|
|
}
|
|
|
|
func (x *OrderData) Reset() {
|
|
*x = OrderData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OrderData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderData) ProtoMessage() {}
|
|
|
|
func (x *OrderData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_customer_proto_msgTypes[8]
|
|
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 OrderData.ProtoReflect.Descriptor instead.
|
|
func (*OrderData) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *OrderData) GetAll() int64 {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderData) GetUnpaid() int64 {
|
|
if x != nil {
|
|
return x.Unpaid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderData) GetUnship() int64 {
|
|
if x != nil {
|
|
return x.Unship
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderData) GetShipped() int64 {
|
|
if x != nil {
|
|
return x.Shipped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderData) GetFinished() int64 {
|
|
if x != nil {
|
|
return x.Finished
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderData) GetCancel() int64 {
|
|
if x != nil {
|
|
return x.Cancel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_customer_proto protoreflect.FileDescriptor
|
|
|
|
var file_customer_proto_rawDesc = []byte{
|
|
0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x12, 0x03, 0x61, 0x70, 0x69, 0x22, 0x38, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22,
|
|
0x22, 0x0a, 0x0a, 0x53, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a,
|
|
0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
|
|
0x6f, 0x6e, 0x65, 0x22, 0x71, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x63, 0x63,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72,
|
|
0x65, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x65,
|
|
0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c, 0x64, 0x67, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6c, 0x64, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x64, 0x65,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x80, 0x02, 0x0a, 0x14, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
|
|
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
|
|
0x72, 0x65, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c,
|
|
0x64, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6c, 0x64, 0x67, 0x12, 0x12,
|
|
0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69,
|
|
0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x69, 0x70, 0x43,
|
|
0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x7a, 0x69, 0x70, 0x43, 0x6f,
|
|
0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x1b, 0x0a, 0x09,
|
|
0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x12, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6b, 0x75, 0x49, 0x44, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6b, 0x75, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75,
|
|
0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62,
|
|
0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x44, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x44,
|
|
0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x07, 0x70, 0x61, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c,
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c,
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xfb, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x62, 0x61,
|
|
0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x12, 0x20,
|
|
0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
|
|
0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x61, 0x79, 0x5f, 0x69,
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x79, 0x49, 0x64, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x54, 0x79, 0x70, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x61,
|
|
0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x03, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x70, 0x61, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x6e, 0x70, 0x61, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
0x75, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x6e,
|
|
0x73, 0x68, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x68, 0x69, 0x70, 0x70, 0x65, 0x64, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x69, 0x70, 0x70, 0x65, 0x64, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61,
|
|
0x6e, 0x63, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63,
|
|
0x65, 0x6c, 0x42, 0x0e, 0x5a, 0x0c, 0x73, 0x68, 0x6f, 0x70, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x64,
|
|
0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_customer_proto_rawDescOnce sync.Once
|
|
file_customer_proto_rawDescData = file_customer_proto_rawDesc
|
|
)
|
|
|
|
func file_customer_proto_rawDescGZIP() []byte {
|
|
file_customer_proto_rawDescOnce.Do(func() {
|
|
file_customer_proto_rawDescData = protoimpl.X.CompressGZIP(file_customer_proto_rawDescData)
|
|
})
|
|
return file_customer_proto_rawDescData
|
|
}
|
|
|
|
var file_customer_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_customer_proto_goTypes = []interface{}{
|
|
(*LoginRequest)(nil), // 0: api.LoginRequest
|
|
(*SmsRequest)(nil), // 1: api.SmsRequest
|
|
(*WithdrawRequest)(nil), // 2: api.WithdrawRequest
|
|
(*CreateAddressRequest)(nil), // 3: api.CreateAddressRequest
|
|
(*UpdateAddressRequest)(nil), // 4: api.UpdateAddressRequest
|
|
(*IdRequest)(nil), // 5: api.IdRequest
|
|
(*CreateOrderRequest)(nil), // 6: api.CreateOrderRequest
|
|
(*PaybackBody)(nil), // 7: api.PaybackBody
|
|
(*OrderData)(nil), // 8: api.OrderData
|
|
}
|
|
var file_customer_proto_depIdxs = []int32{
|
|
0, // [0:0] is the sub-list for method output_type
|
|
0, // [0:0] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_customer_proto_init() }
|
|
func file_customer_proto_init() {
|
|
if File_customer_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_customer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LoginRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SmsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WithdrawRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateAddressRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateAddressRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IdRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateOrderRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PaybackBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_customer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OrderData); 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{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_customer_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_customer_proto_goTypes,
|
|
DependencyIndexes: file_customer_proto_depIdxs,
|
|
MessageInfos: file_customer_proto_msgTypes,
|
|
}.Build()
|
|
File_customer_proto = out.File
|
|
file_customer_proto_rawDesc = nil
|
|
file_customer_proto_goTypes = nil
|
|
file_customer_proto_depIdxs = nil
|
|
}
|
|
|