53d203ee14
CI / changes (push) Successful in 14s
CI / docker-bff (push) Successful in 3s
CI / docker-product (push) Successful in 24s
CI / docker-admin (push) Has been skipped
CI / docker-user (push) Has been skipped
CI / docker-ad (push) Has been skipped
CI / docker-chore (push) Successful in 25s
CI / docker-express (push) Has been skipped
CI / docker-sale (push) Successful in 26s
1526 lines
43 KiB
Go
1526 lines
43 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.4
|
|
// source: sale/sale.proto
|
|
|
|
package sale
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_sale_sale_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GroupEmptyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GroupEmptyReq) Reset() {
|
|
*x = GroupEmptyReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupEmptyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupEmptyReq) ProtoMessage() {}
|
|
|
|
func (x *GroupEmptyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupEmptyReq.ProtoReflect.Descriptor instead.
|
|
func (*GroupEmptyReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type GroupItemsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GroupItemsReq) Reset() {
|
|
*x = GroupItemsReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupItemsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupItemsReq) ProtoMessage() {}
|
|
|
|
func (x *GroupItemsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupItemsReq.ProtoReflect.Descriptor instead.
|
|
func (*GroupItemsReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GroupItemsReq) GetPage() uint32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupItemsReq) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupItemsReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GroupCreateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GroupCreateReq) Reset() {
|
|
*x = GroupCreateReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupCreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupCreateReq) ProtoMessage() {}
|
|
|
|
func (x *GroupCreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupCreateReq.ProtoReflect.Descriptor instead.
|
|
func (*GroupCreateReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GroupCreateReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NamesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NamesReq) Reset() {
|
|
*x = NamesReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NamesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NamesReq) ProtoMessage() {}
|
|
|
|
func (x *NamesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NamesReq.ProtoReflect.Descriptor instead.
|
|
func (*NamesReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *NamesReq) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NamesReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NamesReq) GetLevel() uint32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NameItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NameItem) Reset() {
|
|
*x = NameItem{}
|
|
mi := &file_sale_sale_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NameItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NameItem) ProtoMessage() {}
|
|
|
|
func (x *NameItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NameItem.ProtoReflect.Descriptor instead.
|
|
func (*NameItem) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *NameItem) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NameItem) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NameItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NamesData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*NameItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NamesData) Reset() {
|
|
*x = NamesData{}
|
|
mi := &file_sale_sale_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NamesData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NamesData) ProtoMessage() {}
|
|
|
|
func (x *NamesData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NamesData.ProtoReflect.Descriptor instead.
|
|
func (*NamesData) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *NamesData) GetItems() []*NameItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
IdCardFront string `protobuf:"bytes,3,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front,omitempty"`
|
|
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
|
|
Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"`
|
|
Sex uint32 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"`
|
|
GroupId int64 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
|
BirthDate string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
|
|
SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
|
Type uint32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
|
|
TerritoryId int64 `protobuf:"varint,11,opt,name=territory_id,json=territoryId,proto3" json:"territory_id,omitempty"`
|
|
ProvinceId int64 `protobuf:"varint,13,opt,name=province_id,json=provinceId,proto3" json:"province_id,omitempty"`
|
|
CityId int64 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"`
|
|
DistrictId int64 `protobuf:"varint,15,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"`
|
|
Address string `protobuf:"bytes,19,opt,name=address,proto3" json:"address,omitempty"`
|
|
IdCardBack string `protobuf:"bytes,20,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back,omitempty"`
|
|
BusinessLicense string `protobuf:"bytes,21,opt,name=business_license,json=businessLicense,proto3" json:"business_license,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateReq) Reset() {
|
|
*x = CreateReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateReq) ProtoMessage() {}
|
|
|
|
func (x *CreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.
|
|
func (*CreateReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CreateReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetIdCardFront() string {
|
|
if x != nil {
|
|
return x.IdCardFront
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetSex() uint32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetGroupId() int64 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetBirthDate() string {
|
|
if x != nil {
|
|
return x.BirthDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetTerritoryId() int64 {
|
|
if x != nil {
|
|
return x.TerritoryId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetProvinceId() int64 {
|
|
if x != nil {
|
|
return x.ProvinceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetCityId() int64 {
|
|
if x != nil {
|
|
return x.CityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetDistrictId() int64 {
|
|
if x != nil {
|
|
return x.DistrictId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateReq) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetIdCardBack() string {
|
|
if x != nil {
|
|
return x.IdCardBack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateReq) GetBusinessLicense() string {
|
|
if x != nil {
|
|
return x.BusinessLicense
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EditReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
IdCardFront string `protobuf:"bytes,4,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front,omitempty"`
|
|
Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"`
|
|
Sex uint32 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"`
|
|
GroupId int64 `protobuf:"varint,7,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
|
BirthDate string `protobuf:"bytes,8,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
|
|
SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
|
Type uint32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
|
|
TerritoryId int64 `protobuf:"varint,11,opt,name=territory_id,json=territoryId,proto3" json:"territory_id,omitempty"`
|
|
ProvinceId int64 `protobuf:"varint,13,opt,name=province_id,json=provinceId,proto3" json:"province_id,omitempty"`
|
|
CityId int64 `protobuf:"varint,14,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"`
|
|
DistrictId int64 `protobuf:"varint,15,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"`
|
|
Address string `protobuf:"bytes,19,opt,name=address,proto3" json:"address,omitempty"`
|
|
IdCardBack string `protobuf:"bytes,20,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back,omitempty"`
|
|
BusinessLicense string `protobuf:"bytes,21,opt,name=business_license,json=businessLicense,proto3" json:"business_license,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EditReq) Reset() {
|
|
*x = EditReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EditReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EditReq) ProtoMessage() {}
|
|
|
|
func (x *EditReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EditReq.ProtoReflect.Descriptor instead.
|
|
func (*EditReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *EditReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetIdCardFront() string {
|
|
if x != nil {
|
|
return x.IdCardFront
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetSex() uint32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetGroupId() int64 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetBirthDate() string {
|
|
if x != nil {
|
|
return x.BirthDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetTerritoryId() int64 {
|
|
if x != nil {
|
|
return x.TerritoryId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetProvinceId() int64 {
|
|
if x != nil {
|
|
return x.ProvinceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetCityId() int64 {
|
|
if x != nil {
|
|
return x.CityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetDistrictId() int64 {
|
|
if x != nil {
|
|
return x.DistrictId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetIdCardBack() string {
|
|
if x != nil {
|
|
return x.IdCardBack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetBusinessLicense() string {
|
|
if x != nil {
|
|
return x.BusinessLicense
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InfoReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InfoReq) Reset() {
|
|
*x = InfoReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InfoReq) ProtoMessage() {}
|
|
|
|
func (x *InfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InfoReq.ProtoReflect.Descriptor instead.
|
|
func (*InfoReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *InfoReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Region struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Province string `protobuf:"bytes,1,opt,name=province,proto3" json:"province,omitempty"`
|
|
City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
|
|
District string `protobuf:"bytes,3,opt,name=district,proto3" json:"district,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Region) Reset() {
|
|
*x = Region{}
|
|
mi := &file_sale_sale_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Region) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Region) ProtoMessage() {}
|
|
|
|
func (x *Region) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Region.ProtoReflect.Descriptor instead.
|
|
func (*Region) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Region) GetProvince() string {
|
|
if x != nil {
|
|
return x.Province
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Region) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Region) GetDistrict() string {
|
|
if x != nil {
|
|
return x.District
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GroupItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GroupItem) Reset() {
|
|
*x = GroupItem{}
|
|
mi := &file_sale_sale_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GroupItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GroupItem) ProtoMessage() {}
|
|
|
|
func (x *GroupItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GroupItem.ProtoReflect.Descriptor instead.
|
|
func (*GroupItem) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GroupItem) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GroupItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InfoData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SaleId int64 `protobuf:"varint,2,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
|
Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
OriginMobile string `protobuf:"bytes,4,opt,name=origin_mobile,json=originMobile,proto3" json:"origin_mobile,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
IdCardFront string `protobuf:"bytes,6,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front,omitempty"`
|
|
IdCardBack string `protobuf:"bytes,7,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back,omitempty"`
|
|
BusinessLicense string `protobuf:"bytes,8,opt,name=business_license,json=businessLicense,proto3" json:"business_license,omitempty"`
|
|
Region *Region `protobuf:"bytes,9,opt,name=region,proto3" json:"region,omitempty"`
|
|
ProvinceId int64 `protobuf:"varint,10,opt,name=province_id,json=provinceId,proto3" json:"province_id,omitempty"`
|
|
CityId int64 `protobuf:"varint,11,opt,name=city_id,json=cityId,proto3" json:"city_id,omitempty"`
|
|
DistrictId int64 `protobuf:"varint,12,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"`
|
|
TerritoryId int64 `protobuf:"varint,13,opt,name=territory_id,json=territoryId,proto3" json:"territory_id,omitempty"`
|
|
TerritoryName string `protobuf:"bytes,14,opt,name=territory_name,json=territoryName,proto3" json:"territory_name,omitempty"`
|
|
GroupId int64 `protobuf:"varint,15,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
|
Address string `protobuf:"bytes,16,opt,name=address,proto3" json:"address,omitempty"`
|
|
Status uint32 `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"`
|
|
Avatar string `protobuf:"bytes,18,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Account string `protobuf:"bytes,19,opt,name=account,proto3" json:"account,omitempty"`
|
|
Type uint32 `protobuf:"varint,20,opt,name=type,proto3" json:"type,omitempty"`
|
|
Sex uint32 `protobuf:"varint,21,opt,name=sex,proto3" json:"sex,omitempty"`
|
|
BirthDate string `protobuf:"bytes,22,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
|
|
Reason string `protobuf:"bytes,23,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
AdminId int64 `protobuf:"varint,24,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
|
|
AdminName string `protobuf:"bytes,25,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"`
|
|
CreateTime string `protobuf:"bytes,26,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
UpdateTime string `protobuf:"bytes,27,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
|
Group *GroupItem `protobuf:"bytes,28,opt,name=group,proto3" json:"group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InfoData) Reset() {
|
|
*x = InfoData{}
|
|
mi := &file_sale_sale_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InfoData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InfoData) ProtoMessage() {}
|
|
|
|
func (x *InfoData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InfoData.ProtoReflect.Descriptor instead.
|
|
func (*InfoData) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *InfoData) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetOriginMobile() string {
|
|
if x != nil {
|
|
return x.OriginMobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetIdCardFront() string {
|
|
if x != nil {
|
|
return x.IdCardFront
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetIdCardBack() string {
|
|
if x != nil {
|
|
return x.IdCardBack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetBusinessLicense() string {
|
|
if x != nil {
|
|
return x.BusinessLicense
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetRegion() *Region {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InfoData) GetProvinceId() int64 {
|
|
if x != nil {
|
|
return x.ProvinceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetCityId() int64 {
|
|
if x != nil {
|
|
return x.CityId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetDistrictId() int64 {
|
|
if x != nil {
|
|
return x.DistrictId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetTerritoryId() int64 {
|
|
if x != nil {
|
|
return x.TerritoryId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetTerritoryName() string {
|
|
if x != nil {
|
|
return x.TerritoryName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetGroupId() int64 {
|
|
if x != nil {
|
|
return x.GroupId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetStatus() uint32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetSex() uint32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetBirthDate() string {
|
|
if x != nil {
|
|
return x.BirthDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InfoData) GetAdminName() string {
|
|
if x != nil {
|
|
return x.AdminName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetCreateTime() string {
|
|
if x != nil {
|
|
return x.CreateTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetUpdateTime() string {
|
|
if x != nil {
|
|
return x.UpdateTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InfoData) GetGroup() *GroupItem {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ItemsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
|
|
PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
SaleId int64 `protobuf:"varint,4,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
|
Type uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
|
|
Status uint32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ItemsReq) Reset() {
|
|
*x = ItemsReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ItemsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ItemsReq) ProtoMessage() {}
|
|
|
|
func (x *ItemsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ItemsReq.ProtoReflect.Descriptor instead.
|
|
func (*ItemsReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ItemsReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ItemsReq) GetPage() uint32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemsReq) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemsReq) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemsReq) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemsReq) GetStatus() uint32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StatusReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status uint32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusReq) Reset() {
|
|
*x = StatusReq{}
|
|
mi := &file_sale_sale_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusReq) ProtoMessage() {}
|
|
|
|
func (x *StatusReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_sale_sale_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusReq.ProtoReflect.Descriptor instead.
|
|
func (*StatusReq) Descriptor() ([]byte, []int) {
|
|
return file_sale_sale_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *StatusReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusReq) GetStatus() uint32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusReq) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_sale_sale_proto protoreflect.FileDescriptor
|
|
|
|
const file_sale_sale_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fsale/sale.proto\x12\x04sale\x1a\x1cgoogle/api/annotations.proto\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"\x0f\n" +
|
|
"\rGroupEmptyReq\"T\n" +
|
|
"\rGroupItemsReq\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\rR\x04page\x12\x1b\n" +
|
|
"\tpage_size\x18\x02 \x01(\rR\bpageSize\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\"$\n" +
|
|
"\x0eGroupCreateReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"H\n" +
|
|
"\bNamesReq\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\rR\x04type\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05level\x18\x03 \x01(\rR\x05level\"F\n" +
|
|
"\bNameItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\"1\n" +
|
|
"\tNamesData\x12$\n" +
|
|
"\x05items\x18\x01 \x03(\v2\x0e.sale.NameItemR\x05items\"\xef\x03\n" +
|
|
"\tCreateReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\"\n" +
|
|
"\rid_card_front\x18\x03 \x01(\tR\vidCardFront\x12\x1a\n" +
|
|
"\bpassword\x18\x04 \x01(\tR\bpassword\x12\x18\n" +
|
|
"\aaccount\x18\x05 \x01(\tR\aaccount\x12\x10\n" +
|
|
"\x03sex\x18\x06 \x01(\rR\x03sex\x12\x19\n" +
|
|
"\bgroup_id\x18\a \x01(\x03R\agroupId\x12\x1d\n" +
|
|
"\n" +
|
|
"birth_date\x18\b \x01(\tR\tbirthDate\x12\x17\n" +
|
|
"\asale_id\x18\t \x01(\x03R\x06saleId\x12\x12\n" +
|
|
"\x04type\x18\n" +
|
|
" \x01(\rR\x04type\x12!\n" +
|
|
"\fterritory_id\x18\v \x01(\x03R\vterritoryId\x12\x1f\n" +
|
|
"\vprovince_id\x18\r \x01(\x03R\n" +
|
|
"provinceId\x12\x17\n" +
|
|
"\acity_id\x18\x0e \x01(\x03R\x06cityId\x12\x1f\n" +
|
|
"\vdistrict_id\x18\x0f \x01(\x03R\n" +
|
|
"districtId\x12\x18\n" +
|
|
"\aaddress\x18\x13 \x01(\tR\aaddress\x12 \n" +
|
|
"\fid_card_back\x18\x14 \x01(\tR\n" +
|
|
"idCardBack\x12)\n" +
|
|
"\x10business_license\x18\x15 \x01(\tR\x0fbusinessLicense\"\xe1\x03\n" +
|
|
"\aEditReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\"\n" +
|
|
"\rid_card_front\x18\x04 \x01(\tR\vidCardFront\x12\x18\n" +
|
|
"\aaccount\x18\x05 \x01(\tR\aaccount\x12\x10\n" +
|
|
"\x03sex\x18\x06 \x01(\rR\x03sex\x12\x19\n" +
|
|
"\bgroup_id\x18\a \x01(\x03R\agroupId\x12\x1d\n" +
|
|
"\n" +
|
|
"birth_date\x18\b \x01(\tR\tbirthDate\x12\x17\n" +
|
|
"\asale_id\x18\t \x01(\x03R\x06saleId\x12\x12\n" +
|
|
"\x04type\x18\n" +
|
|
" \x01(\rR\x04type\x12!\n" +
|
|
"\fterritory_id\x18\v \x01(\x03R\vterritoryId\x12\x1f\n" +
|
|
"\vprovince_id\x18\r \x01(\x03R\n" +
|
|
"provinceId\x12\x17\n" +
|
|
"\acity_id\x18\x0e \x01(\x03R\x06cityId\x12\x1f\n" +
|
|
"\vdistrict_id\x18\x0f \x01(\x03R\n" +
|
|
"districtId\x12\x18\n" +
|
|
"\aaddress\x18\x13 \x01(\tR\aaddress\x12 \n" +
|
|
"\fid_card_back\x18\x14 \x01(\tR\n" +
|
|
"idCardBack\x12)\n" +
|
|
"\x10business_license\x18\x15 \x01(\tR\x0fbusinessLicense\"\x19\n" +
|
|
"\aInfoReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"T\n" +
|
|
"\x06Region\x12\x1a\n" +
|
|
"\bprovince\x18\x01 \x01(\tR\bprovince\x12\x12\n" +
|
|
"\x04city\x18\x02 \x01(\tR\x04city\x12\x1a\n" +
|
|
"\bdistrict\x18\x03 \x01(\tR\bdistrict\"/\n" +
|
|
"\tGroupItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\xbf\x06\n" +
|
|
"\bInfoData\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" +
|
|
"\asale_id\x18\x02 \x01(\x03R\x06saleId\x12\x16\n" +
|
|
"\x06mobile\x18\x03 \x01(\tR\x06mobile\x12#\n" +
|
|
"\rorigin_mobile\x18\x04 \x01(\tR\foriginMobile\x12\x12\n" +
|
|
"\x04name\x18\x05 \x01(\tR\x04name\x12\"\n" +
|
|
"\rid_card_front\x18\x06 \x01(\tR\vidCardFront\x12 \n" +
|
|
"\fid_card_back\x18\a \x01(\tR\n" +
|
|
"idCardBack\x12)\n" +
|
|
"\x10business_license\x18\b \x01(\tR\x0fbusinessLicense\x12$\n" +
|
|
"\x06region\x18\t \x01(\v2\f.sale.RegionR\x06region\x12\x1f\n" +
|
|
"\vprovince_id\x18\n" +
|
|
" \x01(\x03R\n" +
|
|
"provinceId\x12\x17\n" +
|
|
"\acity_id\x18\v \x01(\x03R\x06cityId\x12\x1f\n" +
|
|
"\vdistrict_id\x18\f \x01(\x03R\n" +
|
|
"districtId\x12!\n" +
|
|
"\fterritory_id\x18\r \x01(\x03R\vterritoryId\x12%\n" +
|
|
"\x0eterritory_name\x18\x0e \x01(\tR\rterritoryName\x12\x19\n" +
|
|
"\bgroup_id\x18\x0f \x01(\x03R\agroupId\x12\x18\n" +
|
|
"\aaddress\x18\x10 \x01(\tR\aaddress\x12\x16\n" +
|
|
"\x06status\x18\x11 \x01(\rR\x06status\x12\x16\n" +
|
|
"\x06avatar\x18\x12 \x01(\tR\x06avatar\x12\x18\n" +
|
|
"\aaccount\x18\x13 \x01(\tR\aaccount\x12\x12\n" +
|
|
"\x04type\x18\x14 \x01(\rR\x04type\x12\x10\n" +
|
|
"\x03sex\x18\x15 \x01(\rR\x03sex\x12\x1d\n" +
|
|
"\n" +
|
|
"birth_date\x18\x16 \x01(\tR\tbirthDate\x12\x16\n" +
|
|
"\x06reason\x18\x17 \x01(\tR\x06reason\x12\x19\n" +
|
|
"\badmin_id\x18\x18 \x01(\x03R\aadminId\x12\x1d\n" +
|
|
"\n" +
|
|
"admin_name\x18\x19 \x01(\tR\tadminName\x12\x1f\n" +
|
|
"\vcreate_time\x18\x1a \x01(\tR\n" +
|
|
"createTime\x12\x1f\n" +
|
|
"\vupdate_time\x18\x1b \x01(\tR\n" +
|
|
"updateTime\x12%\n" +
|
|
"\x05group\x18\x1c \x01(\v2\x0f.sale.GroupItemR\x05group\"\x94\x01\n" +
|
|
"\bItemsReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04page\x18\x02 \x01(\rR\x04page\x12\x1b\n" +
|
|
"\tpage_size\x18\x03 \x01(\rR\bpageSize\x12\x17\n" +
|
|
"\asale_id\x18\x04 \x01(\x03R\x06saleId\x12\x12\n" +
|
|
"\x04type\x18\x05 \x01(\rR\x04type\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\rR\x06status\"K\n" +
|
|
"\tStatusReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\rR\x06status\x12\x16\n" +
|
|
"\x06reason\x18\x03 \x01(\tR\x06reason2\xee\x06\n" +
|
|
"\x04Sale\x12S\n" +
|
|
"\n" +
|
|
"GroupItems\x12\x13.sale.GroupItemsReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/group\x12U\n" +
|
|
"\vGroupCreate\x12\x14.sale.GroupCreateReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/admin/v3/sales/group\x12Y\n" +
|
|
"\n" +
|
|
"GroupNames\x12\x13.sale.GroupEmptyReq\x1a\x0e.sale.Response\"&\x82\xd3\xe4\x93\x02 :\x01*\x12\x1b/admin/v3/sales/group/names\x12N\n" +
|
|
"\x05Types\x12\x13.sale.GroupEmptyReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/types\x12I\n" +
|
|
"\x05Names\x12\x0e.sale.NamesReq\x1a\x0e.sale.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/sales/names\x120\n" +
|
|
"\rNamesInternal\x12\x0e.sale.NamesReq\x1a\x0f.sale.NamesData\x12E\n" +
|
|
"\x06Create\x12\x0f.sale.CreateReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/admin/v3/sales\x12A\n" +
|
|
"\x04Edit\x12\r.sale.EditReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\x1a\x0f/admin/v3/sales\x12F\n" +
|
|
"\x04Info\x12\r.sale.InfoReq\x1a\x0e.sale.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/sales/info\x12C\n" +
|
|
"\x05Items\x12\x0e.sale.ItemsReq\x1a\x0e.sale.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\x12\x0f/admin/v3/sales\x12L\n" +
|
|
"\x06Status\x12\x0f.sale.StatusReq\x1a\x0e.sale.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x1a\x16/admin/v3/sales/status\x12-\n" +
|
|
"\fInfoInternal\x12\r.sale.InfoReq\x1a\x0e.sale.InfoDataB\x18Z\x16lone-services/rpc/saleb\x06proto3"
|
|
|
|
var (
|
|
file_sale_sale_proto_rawDescOnce sync.Once
|
|
file_sale_sale_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_sale_sale_proto_rawDescGZIP() []byte {
|
|
file_sale_sale_proto_rawDescOnce.Do(func() {
|
|
file_sale_sale_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sale_sale_proto_rawDesc), len(file_sale_sale_proto_rawDesc)))
|
|
})
|
|
return file_sale_sale_proto_rawDescData
|
|
}
|
|
|
|
var file_sale_sale_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_sale_sale_proto_goTypes = []any{
|
|
(*Response)(nil), // 0: sale.Response
|
|
(*GroupEmptyReq)(nil), // 1: sale.GroupEmptyReq
|
|
(*GroupItemsReq)(nil), // 2: sale.GroupItemsReq
|
|
(*GroupCreateReq)(nil), // 3: sale.GroupCreateReq
|
|
(*NamesReq)(nil), // 4: sale.NamesReq
|
|
(*NameItem)(nil), // 5: sale.NameItem
|
|
(*NamesData)(nil), // 6: sale.NamesData
|
|
(*CreateReq)(nil), // 7: sale.CreateReq
|
|
(*EditReq)(nil), // 8: sale.EditReq
|
|
(*InfoReq)(nil), // 9: sale.InfoReq
|
|
(*Region)(nil), // 10: sale.Region
|
|
(*GroupItem)(nil), // 11: sale.GroupItem
|
|
(*InfoData)(nil), // 12: sale.InfoData
|
|
(*ItemsReq)(nil), // 13: sale.ItemsReq
|
|
(*StatusReq)(nil), // 14: sale.StatusReq
|
|
}
|
|
var file_sale_sale_proto_depIdxs = []int32{
|
|
5, // 0: sale.NamesData.items:type_name -> sale.NameItem
|
|
10, // 1: sale.InfoData.region:type_name -> sale.Region
|
|
11, // 2: sale.InfoData.group:type_name -> sale.GroupItem
|
|
2, // 3: sale.Sale.GroupItems:input_type -> sale.GroupItemsReq
|
|
3, // 4: sale.Sale.GroupCreate:input_type -> sale.GroupCreateReq
|
|
1, // 5: sale.Sale.GroupNames:input_type -> sale.GroupEmptyReq
|
|
1, // 6: sale.Sale.Types:input_type -> sale.GroupEmptyReq
|
|
4, // 7: sale.Sale.Names:input_type -> sale.NamesReq
|
|
4, // 8: sale.Sale.NamesInternal:input_type -> sale.NamesReq
|
|
7, // 9: sale.Sale.Create:input_type -> sale.CreateReq
|
|
8, // 10: sale.Sale.Edit:input_type -> sale.EditReq
|
|
9, // 11: sale.Sale.Info:input_type -> sale.InfoReq
|
|
13, // 12: sale.Sale.Items:input_type -> sale.ItemsReq
|
|
14, // 13: sale.Sale.Status:input_type -> sale.StatusReq
|
|
9, // 14: sale.Sale.InfoInternal:input_type -> sale.InfoReq
|
|
0, // 15: sale.Sale.GroupItems:output_type -> sale.Response
|
|
0, // 16: sale.Sale.GroupCreate:output_type -> sale.Response
|
|
0, // 17: sale.Sale.GroupNames:output_type -> sale.Response
|
|
0, // 18: sale.Sale.Types:output_type -> sale.Response
|
|
0, // 19: sale.Sale.Names:output_type -> sale.Response
|
|
6, // 20: sale.Sale.NamesInternal:output_type -> sale.NamesData
|
|
0, // 21: sale.Sale.Create:output_type -> sale.Response
|
|
0, // 22: sale.Sale.Edit:output_type -> sale.Response
|
|
0, // 23: sale.Sale.Info:output_type -> sale.Response
|
|
0, // 24: sale.Sale.Items:output_type -> sale.Response
|
|
0, // 25: sale.Sale.Status:output_type -> sale.Response
|
|
12, // 26: sale.Sale.InfoInternal:output_type -> sale.InfoData
|
|
15, // [15:27] is the sub-list for method output_type
|
|
3, // [3:15] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_sale_sale_proto_init() }
|
|
func file_sale_sale_proto_init() {
|
|
if File_sale_sale_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_sale_sale_proto_rawDesc), len(file_sale_sale_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_sale_sale_proto_goTypes,
|
|
DependencyIndexes: file_sale_sale_proto_depIdxs,
|
|
MessageInfos: file_sale_sale_proto_msgTypes,
|
|
}.Build()
|
|
File_sale_sale_proto = out.File
|
|
file_sale_sale_proto_goTypes = nil
|
|
file_sale_sale_proto_depIdxs = nil
|
|
}
|