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.
820 lines
25 KiB
820 lines
25 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
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email"`
|
|
Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code"`
|
|
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password"`
|
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type"`
|
|
Appid string `protobuf:"bytes,6,opt,name=appid,proto3" json:"appid"`
|
|
}
|
|
|
|
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) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetAppid() string {
|
|
if x != nil {
|
|
return x.Appid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegisterRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
|
|
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"`
|
|
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar"`
|
|
Appid string `protobuf:"bytes,5,opt,name=appid,proto3" json:"appid"`
|
|
}
|
|
|
|
func (x *RegisterRequest) Reset() {
|
|
*x = RegisterRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RegisterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterRequest) 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 RegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RegisterRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterRequest) GetAppid() string {
|
|
if x != nil {
|
|
return x.Appid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SmsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone"`
|
|
}
|
|
|
|
func (x *SmsRequest) Reset() {
|
|
*x = SmsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[2]
|
|
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[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 SmsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SmsRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
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"` //账户绑定手机号
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"` //验证码
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount"` //提现金额
|
|
AccountID int32 `protobuf:"varint,4,opt,name=accountID,proto3" json:"accountID"` //账户id
|
|
}
|
|
|
|
func (x *WithdrawRequest) Reset() {
|
|
*x = WithdrawRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[3]
|
|
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[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 WithdrawRequest.ProtoReflect.Descriptor instead.
|
|
func (*WithdrawRequest) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
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 OrderData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
All int64 `protobuf:"varint,1,opt,name=all,proto3" json:"all"` // 全部
|
|
Unship int64 `protobuf:"varint,2,opt,name=unship,proto3" json:"unship"` // 待发货
|
|
Shipped int64 `protobuf:"varint,3,opt,name=shipped,proto3" json:"shipped"` // 已发货
|
|
Finished int64 `protobuf:"varint,4,opt,name=finished,proto3" json:"finished"` // 已完成
|
|
Cancel int64 `protobuf:"varint,5,opt,name=cancel,proto3" json:"cancel"` // 已取消
|
|
}
|
|
|
|
func (x *OrderData) Reset() {
|
|
*x = OrderData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[4]
|
|
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[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 OrderData.ProtoReflect.Descriptor instead.
|
|
func (*OrderData) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *OrderData) GetAll() int64 {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
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
|
|
}
|
|
|
|
type BillData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Income float64 `protobuf:"fixed64,1,opt,name=income,proto3" json:"income"` // 收入总额
|
|
RewardUnfinished float64 `protobuf:"fixed64,2,opt,name=rewardUnfinished,proto3" json:"rewardUnfinished"` // 在途佣金
|
|
OrderMoney float64 `protobuf:"fixed64,3,opt,name=orderMoney,proto3" json:"orderMoney"` // 订单总额
|
|
OrderNum int64 `protobuf:"varint,4,opt,name=orderNum,proto3" json:"orderNum"` // 订单数
|
|
CancelOrderNum int64 `protobuf:"varint,5,opt,name=cancelOrderNum,proto3" json:"cancelOrderNum"` // 退款订单数
|
|
CancelOrderMoney float64 `protobuf:"fixed64,6,opt,name=cancelOrderMoney,proto3" json:"cancelOrderMoney"` // 退款订单总额
|
|
FlowIncome float64 `protobuf:"fixed64,7,opt,name=flowIncome,proto3" json:"flowIncome"` // 进账
|
|
FlowExpend float64 `protobuf:"fixed64,8,opt,name=flowExpend,proto3" json:"flowExpend"` // 出账
|
|
}
|
|
|
|
func (x *BillData) Reset() {
|
|
*x = BillData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BillData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BillData) ProtoMessage() {}
|
|
|
|
func (x *BillData) 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 BillData.ProtoReflect.Descriptor instead.
|
|
func (*BillData) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *BillData) GetIncome() float64 {
|
|
if x != nil {
|
|
return x.Income
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetRewardUnfinished() float64 {
|
|
if x != nil {
|
|
return x.RewardUnfinished
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetOrderMoney() float64 {
|
|
if x != nil {
|
|
return x.OrderMoney
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetOrderNum() int64 {
|
|
if x != nil {
|
|
return x.OrderNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetCancelOrderNum() int64 {
|
|
if x != nil {
|
|
return x.CancelOrderNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetCancelOrderMoney() float64 {
|
|
if x != nil {
|
|
return x.CancelOrderMoney
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetFlowIncome() float64 {
|
|
if x != nil {
|
|
return x.FlowIncome
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BillData) GetFlowExpend() float64 {
|
|
if x != nil {
|
|
return x.FlowExpend
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MissionOrderStatistic struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OrderNum int64 `protobuf:"varint,1,opt,name=orderNum,proto3" json:"orderNum"` // 订单总数
|
|
OrderDoneNum int64 `protobuf:"varint,2,opt,name=orderDoneNum,proto3" json:"orderDoneNum"` // 完成订单总数
|
|
OrderMoney float64 `protobuf:"fixed64,3,opt,name=OrderMoney,proto3" json:"OrderMoney"` // 订单金额
|
|
SettleReward float64 `protobuf:"fixed64,4,opt,name=SettleReward,proto3" json:"SettleReward"` // 结算佣金
|
|
TransitReward float64 `protobuf:"fixed64,5,opt,name=TransitReward,proto3" json:"TransitReward"` // 在途佣金
|
|
RewardRatio float64 `protobuf:"fixed64,6,opt,name=RewardRatio,proto3" json:"RewardRatio"` // 佣金比例
|
|
Uv int64 `protobuf:"varint,7,opt,name=Uv,proto3" json:"Uv"` // 浏览人数
|
|
OrderUserNum int64 `protobuf:"varint,8,opt,name=OrderUserNum,proto3" json:"OrderUserNum"` // 下单人数
|
|
SellNum int64 `protobuf:"varint,9,opt,name=SellNum,proto3" json:"SellNum"` // 销售数量
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) Reset() {
|
|
*x = MissionOrderStatistic{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_customer_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MissionOrderStatistic) ProtoMessage() {}
|
|
|
|
func (x *MissionOrderStatistic) 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 MissionOrderStatistic.ProtoReflect.Descriptor instead.
|
|
func (*MissionOrderStatistic) Descriptor() ([]byte, []int) {
|
|
return file_customer_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetOrderNum() int64 {
|
|
if x != nil {
|
|
return x.OrderNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetOrderDoneNum() int64 {
|
|
if x != nil {
|
|
return x.OrderDoneNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetOrderMoney() float64 {
|
|
if x != nil {
|
|
return x.OrderMoney
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetSettleReward() float64 {
|
|
if x != nil {
|
|
return x.SettleReward
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetTransitReward() float64 {
|
|
if x != nil {
|
|
return x.TransitReward
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetRewardRatio() float64 {
|
|
if x != nil {
|
|
return x.RewardRatio
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetUv() int64 {
|
|
if x != nil {
|
|
return x.Uv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetOrderUserNum() int64 {
|
|
if x != nil {
|
|
return x.OrderUserNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MissionOrderStatistic) GetSellNum() int64 {
|
|
if x != nil {
|
|
return x.SellNum
|
|
}
|
|
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, 0x94, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05,
|
|
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f,
|
|
0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x85, 0x01, 0x0a,
|
|
0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69,
|
|
0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69,
|
|
0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x14,
|
|
0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61,
|
|
0x70, 0x70, 0x69, 0x64, 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, 0x83, 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, 0x73, 0x68, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x6e, 0x73,
|
|
0x68, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x68, 0x69, 0x70, 0x70, 0x65, 0x64, 0x18, 0x03,
|
|
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, 0x04, 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, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65,
|
|
0x6c, 0x22, 0x9e, 0x02, 0x0a, 0x08, 0x42, 0x69, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16,
|
|
0x0a, 0x06, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06,
|
|
0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
0x55, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x55, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68,
|
|
0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e,
|
|
0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x26,
|
|
0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72,
|
|
0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c,
|
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x10, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e,
|
|
0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x65,
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x63, 0x6f,
|
|
0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x65, 0x6e, 0x64,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x65,
|
|
0x6e, 0x64, 0x22, 0xb1, 0x02, 0x0a, 0x15, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4f, 0x72,
|
|
0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65,
|
|
0x72, 0x44, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a,
|
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x0a, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0c,
|
|
0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x01, 0x52, 0x0c, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
0x12, 0x24, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72,
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
|
|
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64,
|
|
0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x52, 0x65, 0x77,
|
|
0x61, 0x72, 0x64, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x55, 0x76, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x55, 0x76, 0x12, 0x22, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65,
|
|
0x72, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07,
|
|
0x53, 0x65, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x53,
|
|
0x65, 0x6c, 0x6c, 0x4e, 0x75, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x70, 0x75, 0x72, 0x65, 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, 7)
|
|
var file_customer_proto_goTypes = []interface{}{
|
|
(*LoginRequest)(nil), // 0: api.LoginRequest
|
|
(*RegisterRequest)(nil), // 1: api.RegisterRequest
|
|
(*SmsRequest)(nil), // 2: api.SmsRequest
|
|
(*WithdrawRequest)(nil), // 3: api.WithdrawRequest
|
|
(*OrderData)(nil), // 4: api.OrderData
|
|
(*BillData)(nil), // 5: api.BillData
|
|
(*MissionOrderStatistic)(nil), // 6: api.MissionOrderStatistic
|
|
}
|
|
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.(*RegisterRequest); 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.(*SmsRequest); 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.(*WithdrawRequest); 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.(*OrderData); 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.(*BillData); 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.(*MissionOrderStatistic); 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: 7,
|
|
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
|
|
}
|
|
|