Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCategoryBrandServer(s grpc.ServiceRegistrar, srv CategoryBrandServer)
- type BrandInfoResponse
- func (*BrandInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BrandInfoResponse) GetId() int32
- func (x *BrandInfoResponse) GetLogo() string
- func (x *BrandInfoResponse) GetName() string
- func (*BrandInfoResponse) ProtoMessage()
- func (x *BrandInfoResponse) ProtoReflect() protoreflect.Message
- func (x *BrandInfoResponse) Reset()
- func (x *BrandInfoResponse) String() string
- type BrandListResponse
- func (*BrandListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BrandListResponse) GetData() []*BrandInfoResponse
- func (x *BrandListResponse) GetTotal() int32
- func (*BrandListResponse) ProtoMessage()
- func (x *BrandListResponse) ProtoReflect() protoreflect.Message
- func (x *BrandListResponse) Reset()
- func (x *BrandListResponse) String() string
- type CategoryBrandClient
- type CategoryBrandInfoResponse
- func (*CategoryBrandInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CategoryBrandInfoResponse) GetBrand() *BrandInfoResponse
- func (x *CategoryBrandInfoResponse) GetCategory() *GoodsCategoryInfoResponse
- func (x *CategoryBrandInfoResponse) GetId() int32
- func (*CategoryBrandInfoResponse) ProtoMessage()
- func (x *CategoryBrandInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CategoryBrandInfoResponse) Reset()
- func (x *CategoryBrandInfoResponse) String() string
- type CategoryBrandListResponse
- func (*CategoryBrandListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CategoryBrandListResponse) GetData() []*CategoryBrandInfoResponse
- func (x *CategoryBrandListResponse) GetTotal() int32
- func (*CategoryBrandListResponse) ProtoMessage()
- func (x *CategoryBrandListResponse) ProtoReflect() protoreflect.Message
- func (x *CategoryBrandListResponse) Reset()
- func (x *CategoryBrandListResponse) String() string
- type CategoryBrandServer
- type CategoryInfoRequest
- func (*CategoryInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CategoryInfoRequest) GetId() int32
- func (*CategoryInfoRequest) ProtoMessage()
- func (x *CategoryInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CategoryInfoRequest) Reset()
- func (x *CategoryInfoRequest) String() string
- type CreateCategoryBrandRequest
- func (*CreateCategoryBrandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCategoryBrandRequest) GetId() int32
- func (*CreateCategoryBrandRequest) ProtoMessage()
- func (x *CreateCategoryBrandRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCategoryBrandRequest) Reset()
- func (x *CreateCategoryBrandRequest) String() string
- type DeleteCategoryBrandRequest
- func (*DeleteCategoryBrandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCategoryBrandRequest) GetId() int32
- func (*DeleteCategoryBrandRequest) ProtoMessage()
- func (x *DeleteCategoryBrandRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCategoryBrandRequest) Reset()
- func (x *DeleteCategoryBrandRequest) String() string
- type Empty
- type GetCategoryBrandFilterListRequest
- func (*GetCategoryBrandFilterListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCategoryBrandFilterListRequest) GetPagePerNums() int32
- func (x *GetCategoryBrandFilterListRequest) GetPages() int32
- func (*GetCategoryBrandFilterListRequest) ProtoMessage()
- func (x *GetCategoryBrandFilterListRequest) ProtoReflect() protoreflect.Message
- func (x *GetCategoryBrandFilterListRequest) Reset()
- func (x *GetCategoryBrandFilterListRequest) String() string
- type GoodsCategoryInfoResponse
- func (*GoodsCategoryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GoodsCategoryInfoResponse) GetId() int32
- func (x *GoodsCategoryInfoResponse) GetIsTab() bool
- func (x *GoodsCategoryInfoResponse) GetLevel() int32
- func (x *GoodsCategoryInfoResponse) GetName() string
- func (x *GoodsCategoryInfoResponse) GetParentCategory() int32
- func (*GoodsCategoryInfoResponse) ProtoMessage()
- func (x *GoodsCategoryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GoodsCategoryInfoResponse) Reset()
- func (x *GoodsCategoryInfoResponse) String() string
- type UnimplementedCategoryBrandServer
- func (UnimplementedCategoryBrandServer) CreateCategoryBrand(context.Context, *CreateCategoryBrandRequest) (*CategoryBrandInfoResponse, error)
- func (UnimplementedCategoryBrandServer) DeleteCategoryBrand(context.Context, *DeleteCategoryBrandRequest) (*Empty, error)
- func (UnimplementedCategoryBrandServer) GetBrandListByCategory(context.Context, *CategoryInfoRequest) (*BrandListResponse, error)
- func (UnimplementedCategoryBrandServer) GetCategoryBrandFilterList(context.Context, *GetCategoryBrandFilterListRequest) (*CategoryBrandListResponse, error)
- func (UnimplementedCategoryBrandServer) Ping(context.Context, *Empty) (*Empty, error)
- func (UnimplementedCategoryBrandServer) UpdateCategoryBrand(context.Context, *UpdateCategoryBrandRequest) (*Empty, error)
- type UnsafeCategoryBrandServer
- type UpdateCategoryBrandRequest
- func (*UpdateCategoryBrandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCategoryBrandRequest) GetBrandId() int32
- func (x *UpdateCategoryBrandRequest) GetCategoryId() int32
- func (x *UpdateCategoryBrandRequest) GetId() int32
- func (*UpdateCategoryBrandRequest) ProtoMessage()
- func (x *UpdateCategoryBrandRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCategoryBrandRequest) Reset()
- func (x *UpdateCategoryBrandRequest) String() string
Constants ¶
const ( CategoryBrand_GetCategoryBrandFilterList_FullMethodName = "/category_brand.CategoryBrand/GetCategoryBrandFilterList" CategoryBrand_GetBrandListByCategory_FullMethodName = "/category_brand.CategoryBrand/GetBrandListByCategory" CategoryBrand_CreateCategoryBrand_FullMethodName = "/category_brand.CategoryBrand/CreateCategoryBrand" CategoryBrand_UpdateCategoryBrand_FullMethodName = "/category_brand.CategoryBrand/UpdateCategoryBrand" CategoryBrand_DeleteCategoryBrand_FullMethodName = "/category_brand.CategoryBrand/DeleteCategoryBrand" CategoryBrand_Ping_FullMethodName = "/category_brand.CategoryBrand/Ping" )
Variables ¶
var CategoryBrand_ServiceDesc = grpc.ServiceDesc{ ServiceName: "category_brand.CategoryBrand", HandlerType: (*CategoryBrandServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCategoryBrandFilterList", Handler: _CategoryBrand_GetCategoryBrandFilterList_Handler, }, { MethodName: "GetBrandListByCategory", Handler: _CategoryBrand_GetBrandListByCategory_Handler, }, { MethodName: "CreateCategoryBrand", Handler: _CategoryBrand_CreateCategoryBrand_Handler, }, { MethodName: "UpdateCategoryBrand", Handler: _CategoryBrand_UpdateCategoryBrand_Handler, }, { MethodName: "DeleteCategoryBrand", Handler: _CategoryBrand_DeleteCategoryBrand_Handler, }, { MethodName: "Ping", Handler: _CategoryBrand_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/goods/category_brand.proto", }
CategoryBrand_ServiceDesc is the grpc.ServiceDesc for CategoryBrand service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_goods_category_brand_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCategoryBrandServer ¶
func RegisterCategoryBrandServer(s grpc.ServiceRegistrar, srv CategoryBrandServer)
Types ¶
type BrandInfoResponse ¶
type BrandInfoResponse struct {
// 品牌信息
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 品牌id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 品牌名称
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"` // 品牌logo
// contains filtered or unexported fields
}
func (*BrandInfoResponse) Descriptor
deprecated
func (*BrandInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use BrandInfoResponse.ProtoReflect.Descriptor instead.
func (*BrandInfoResponse) GetId ¶
func (x *BrandInfoResponse) GetId() int32
func (*BrandInfoResponse) GetLogo ¶
func (x *BrandInfoResponse) GetLogo() string
func (*BrandInfoResponse) GetName ¶
func (x *BrandInfoResponse) GetName() string
func (*BrandInfoResponse) ProtoMessage ¶
func (*BrandInfoResponse) ProtoMessage()
func (*BrandInfoResponse) ProtoReflect ¶
func (x *BrandInfoResponse) ProtoReflect() protoreflect.Message
func (*BrandInfoResponse) Reset ¶
func (x *BrandInfoResponse) Reset()
func (*BrandInfoResponse) String ¶
func (x *BrandInfoResponse) String() string
type BrandListResponse ¶
type BrandListResponse struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
Data []*BrandInfoResponse `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 品牌列表
// contains filtered or unexported fields
}
func (*BrandListResponse) Descriptor
deprecated
func (*BrandListResponse) Descriptor() ([]byte, []int)
Deprecated: Use BrandListResponse.ProtoReflect.Descriptor instead.
func (*BrandListResponse) GetData ¶
func (x *BrandListResponse) GetData() []*BrandInfoResponse
func (*BrandListResponse) GetTotal ¶
func (x *BrandListResponse) GetTotal() int32
func (*BrandListResponse) ProtoMessage ¶
func (*BrandListResponse) ProtoMessage()
func (*BrandListResponse) ProtoReflect ¶
func (x *BrandListResponse) ProtoReflect() protoreflect.Message
func (*BrandListResponse) Reset ¶
func (x *BrandListResponse) Reset()
func (*BrandListResponse) String ¶
func (x *BrandListResponse) String() string
type CategoryBrandClient ¶
type CategoryBrandClient interface {
// 品牌分类接口
GetCategoryBrandFilterList(ctx context.Context, in *GetCategoryBrandFilterListRequest, opts ...grpc.CallOption) (*CategoryBrandListResponse, error)
GetBrandListByCategory(ctx context.Context, in *CategoryInfoRequest, opts ...grpc.CallOption) (*BrandListResponse, error)
CreateCategoryBrand(ctx context.Context, in *CreateCategoryBrandRequest, opts ...grpc.CallOption) (*CategoryBrandInfoResponse, error)
UpdateCategoryBrand(ctx context.Context, in *UpdateCategoryBrandRequest, opts ...grpc.CallOption) (*Empty, error)
DeleteCategoryBrand(ctx context.Context, in *DeleteCategoryBrandRequest, opts ...grpc.CallOption) (*Empty, error)
Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}
CategoryBrandClient is the client API for CategoryBrand service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCategoryBrandClient ¶
func NewCategoryBrandClient(cc grpc.ClientConnInterface) CategoryBrandClient
type CategoryBrandInfoResponse ¶
type CategoryBrandInfoResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 品牌分类id
Brand *BrandInfoResponse `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"` // 品牌信息
Category *GoodsCategoryInfoResponse `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` // 商品分类信息
// contains filtered or unexported fields
}
func (*CategoryBrandInfoResponse) Descriptor
deprecated
func (*CategoryBrandInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CategoryBrandInfoResponse.ProtoReflect.Descriptor instead.
func (*CategoryBrandInfoResponse) GetBrand ¶
func (x *CategoryBrandInfoResponse) GetBrand() *BrandInfoResponse
func (*CategoryBrandInfoResponse) GetCategory ¶
func (x *CategoryBrandInfoResponse) GetCategory() *GoodsCategoryInfoResponse
func (*CategoryBrandInfoResponse) GetId ¶
func (x *CategoryBrandInfoResponse) GetId() int32
func (*CategoryBrandInfoResponse) ProtoMessage ¶
func (*CategoryBrandInfoResponse) ProtoMessage()
func (*CategoryBrandInfoResponse) ProtoReflect ¶
func (x *CategoryBrandInfoResponse) ProtoReflect() protoreflect.Message
func (*CategoryBrandInfoResponse) Reset ¶
func (x *CategoryBrandInfoResponse) Reset()
func (*CategoryBrandInfoResponse) String ¶
func (x *CategoryBrandInfoResponse) String() string
type CategoryBrandListResponse ¶
type CategoryBrandListResponse struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
Data []*CategoryBrandInfoResponse `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 品牌分类列表
// contains filtered or unexported fields
}
func (*CategoryBrandListResponse) Descriptor
deprecated
func (*CategoryBrandListResponse) Descriptor() ([]byte, []int)
Deprecated: Use CategoryBrandListResponse.ProtoReflect.Descriptor instead.
func (*CategoryBrandListResponse) GetData ¶
func (x *CategoryBrandListResponse) GetData() []*CategoryBrandInfoResponse
func (*CategoryBrandListResponse) GetTotal ¶
func (x *CategoryBrandListResponse) GetTotal() int32
func (*CategoryBrandListResponse) ProtoMessage ¶
func (*CategoryBrandListResponse) ProtoMessage()
func (*CategoryBrandListResponse) ProtoReflect ¶
func (x *CategoryBrandListResponse) ProtoReflect() protoreflect.Message
func (*CategoryBrandListResponse) Reset ¶
func (x *CategoryBrandListResponse) Reset()
func (*CategoryBrandListResponse) String ¶
func (x *CategoryBrandListResponse) String() string
type CategoryBrandServer ¶
type CategoryBrandServer interface {
// 品牌分类接口
GetCategoryBrandFilterList(context.Context, *GetCategoryBrandFilterListRequest) (*CategoryBrandListResponse, error)
GetBrandListByCategory(context.Context, *CategoryInfoRequest) (*BrandListResponse, error)
CreateCategoryBrand(context.Context, *CreateCategoryBrandRequest) (*CategoryBrandInfoResponse, error)
UpdateCategoryBrand(context.Context, *UpdateCategoryBrandRequest) (*Empty, error)
DeleteCategoryBrand(context.Context, *DeleteCategoryBrandRequest) (*Empty, error)
Ping(context.Context, *Empty) (*Empty, error)
// contains filtered or unexported methods
}
CategoryBrandServer is the server API for CategoryBrand service. All implementations must embed UnimplementedCategoryBrandServer for forward compatibility
type CategoryInfoRequest ¶
type CategoryInfoRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 分类id
// contains filtered or unexported fields
}
func (*CategoryInfoRequest) Descriptor
deprecated
func (*CategoryInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CategoryInfoRequest.ProtoReflect.Descriptor instead.
func (*CategoryInfoRequest) GetId ¶
func (x *CategoryInfoRequest) GetId() int32
func (*CategoryInfoRequest) ProtoMessage ¶
func (*CategoryInfoRequest) ProtoMessage()
func (*CategoryInfoRequest) ProtoReflect ¶
func (x *CategoryInfoRequest) ProtoReflect() protoreflect.Message
func (*CategoryInfoRequest) Reset ¶
func (x *CategoryInfoRequest) Reset()
func (*CategoryInfoRequest) String ¶
func (x *CategoryInfoRequest) String() string
type CreateCategoryBrandRequest ¶
type CreateCategoryBrandRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
// contains filtered or unexported fields
}
func (*CreateCategoryBrandRequest) Descriptor
deprecated
func (*CreateCategoryBrandRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCategoryBrandRequest.ProtoReflect.Descriptor instead.
func (*CreateCategoryBrandRequest) GetId ¶
func (x *CreateCategoryBrandRequest) GetId() int32
func (*CreateCategoryBrandRequest) ProtoMessage ¶
func (*CreateCategoryBrandRequest) ProtoMessage()
func (*CreateCategoryBrandRequest) ProtoReflect ¶
func (x *CreateCategoryBrandRequest) ProtoReflect() protoreflect.Message
func (*CreateCategoryBrandRequest) Reset ¶
func (x *CreateCategoryBrandRequest) Reset()
func (*CreateCategoryBrandRequest) String ¶
func (x *CreateCategoryBrandRequest) String() string
type DeleteCategoryBrandRequest ¶
type DeleteCategoryBrandRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 品牌分类id
// contains filtered or unexported fields
}
func (*DeleteCategoryBrandRequest) Descriptor
deprecated
func (*DeleteCategoryBrandRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCategoryBrandRequest.ProtoReflect.Descriptor instead.
func (*DeleteCategoryBrandRequest) GetId ¶
func (x *DeleteCategoryBrandRequest) GetId() int32
func (*DeleteCategoryBrandRequest) ProtoMessage ¶
func (*DeleteCategoryBrandRequest) ProtoMessage()
func (*DeleteCategoryBrandRequest) ProtoReflect ¶
func (x *DeleteCategoryBrandRequest) ProtoReflect() protoreflect.Message
func (*DeleteCategoryBrandRequest) Reset ¶
func (x *DeleteCategoryBrandRequest) Reset()
func (*DeleteCategoryBrandRequest) String ¶
func (x *DeleteCategoryBrandRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GetCategoryBrandFilterListRequest ¶
type GetCategoryBrandFilterListRequest struct {
Pages int32 `protobuf:"varint,1,opt,name=pages,proto3" json:"pages,omitempty"`
PagePerNums int32 `protobuf:"varint,2,opt,name=pagePerNums,proto3" json:"pagePerNums,omitempty"` // 每页显示数量
// contains filtered or unexported fields
}
func (*GetCategoryBrandFilterListRequest) Descriptor
deprecated
func (*GetCategoryBrandFilterListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCategoryBrandFilterListRequest.ProtoReflect.Descriptor instead.
func (*GetCategoryBrandFilterListRequest) GetPagePerNums ¶
func (x *GetCategoryBrandFilterListRequest) GetPagePerNums() int32
func (*GetCategoryBrandFilterListRequest) GetPages ¶
func (x *GetCategoryBrandFilterListRequest) GetPages() int32
func (*GetCategoryBrandFilterListRequest) ProtoMessage ¶
func (*GetCategoryBrandFilterListRequest) ProtoMessage()
func (*GetCategoryBrandFilterListRequest) ProtoReflect ¶
func (x *GetCategoryBrandFilterListRequest) ProtoReflect() protoreflect.Message
func (*GetCategoryBrandFilterListRequest) Reset ¶
func (x *GetCategoryBrandFilterListRequest) Reset()
func (*GetCategoryBrandFilterListRequest) String ¶
func (x *GetCategoryBrandFilterListRequest) String() string
type GoodsCategoryInfoResponse ¶
type GoodsCategoryInfoResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 分类id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 分类名称
ParentCategory int32 `protobuf:"varint,3,opt,name=parentCategory,proto3" json:"parentCategory,omitempty"` // 父分类id
Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` // 分类级别
IsTab bool `protobuf:"varint,5,opt,name=isTab,proto3" json:"isTab,omitempty"` // 是否为tab分类
// contains filtered or unexported fields
}
func (*GoodsCategoryInfoResponse) Descriptor
deprecated
func (*GoodsCategoryInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GoodsCategoryInfoResponse.ProtoReflect.Descriptor instead.
func (*GoodsCategoryInfoResponse) GetId ¶
func (x *GoodsCategoryInfoResponse) GetId() int32
func (*GoodsCategoryInfoResponse) GetIsTab ¶
func (x *GoodsCategoryInfoResponse) GetIsTab() bool
func (*GoodsCategoryInfoResponse) GetLevel ¶
func (x *GoodsCategoryInfoResponse) GetLevel() int32
func (*GoodsCategoryInfoResponse) GetName ¶
func (x *GoodsCategoryInfoResponse) GetName() string
func (*GoodsCategoryInfoResponse) GetParentCategory ¶
func (x *GoodsCategoryInfoResponse) GetParentCategory() int32
func (*GoodsCategoryInfoResponse) ProtoMessage ¶
func (*GoodsCategoryInfoResponse) ProtoMessage()
func (*GoodsCategoryInfoResponse) ProtoReflect ¶
func (x *GoodsCategoryInfoResponse) ProtoReflect() protoreflect.Message
func (*GoodsCategoryInfoResponse) Reset ¶
func (x *GoodsCategoryInfoResponse) Reset()
func (*GoodsCategoryInfoResponse) String ¶
func (x *GoodsCategoryInfoResponse) String() string
type UnimplementedCategoryBrandServer ¶
type UnimplementedCategoryBrandServer struct {
}
UnimplementedCategoryBrandServer must be embedded to have forward compatible implementations.
func (UnimplementedCategoryBrandServer) CreateCategoryBrand ¶
func (UnimplementedCategoryBrandServer) CreateCategoryBrand(context.Context, *CreateCategoryBrandRequest) (*CategoryBrandInfoResponse, error)
func (UnimplementedCategoryBrandServer) DeleteCategoryBrand ¶
func (UnimplementedCategoryBrandServer) DeleteCategoryBrand(context.Context, *DeleteCategoryBrandRequest) (*Empty, error)
func (UnimplementedCategoryBrandServer) GetBrandListByCategory ¶
func (UnimplementedCategoryBrandServer) GetBrandListByCategory(context.Context, *CategoryInfoRequest) (*BrandListResponse, error)
func (UnimplementedCategoryBrandServer) GetCategoryBrandFilterList ¶
func (UnimplementedCategoryBrandServer) GetCategoryBrandFilterList(context.Context, *GetCategoryBrandFilterListRequest) (*CategoryBrandListResponse, error)
func (UnimplementedCategoryBrandServer) UpdateCategoryBrand ¶
func (UnimplementedCategoryBrandServer) UpdateCategoryBrand(context.Context, *UpdateCategoryBrandRequest) (*Empty, error)
type UnsafeCategoryBrandServer ¶
type UnsafeCategoryBrandServer interface {
// contains filtered or unexported methods
}
UnsafeCategoryBrandServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CategoryBrandServer will result in compilation errors.
type UpdateCategoryBrandRequest ¶
type UpdateCategoryBrandRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
CategoryId int32 `protobuf:"varint,2,opt,name=categoryId,proto3" json:"categoryId,omitempty"` // 分类id
BrandId int32 `protobuf:"varint,3,opt,name=brandId,proto3" json:"brandId,omitempty"` // 品牌id
// contains filtered or unexported fields
}
func (*UpdateCategoryBrandRequest) Descriptor
deprecated
func (*UpdateCategoryBrandRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCategoryBrandRequest.ProtoReflect.Descriptor instead.
func (*UpdateCategoryBrandRequest) GetBrandId ¶
func (x *UpdateCategoryBrandRequest) GetBrandId() int32
func (*UpdateCategoryBrandRequest) GetCategoryId ¶
func (x *UpdateCategoryBrandRequest) GetCategoryId() int32
func (*UpdateCategoryBrandRequest) GetId ¶
func (x *UpdateCategoryBrandRequest) GetId() int32
func (*UpdateCategoryBrandRequest) ProtoMessage ¶
func (*UpdateCategoryBrandRequest) ProtoMessage()
func (*UpdateCategoryBrandRequest) ProtoReflect ¶
func (x *UpdateCategoryBrandRequest) ProtoReflect() protoreflect.Message
func (*UpdateCategoryBrandRequest) Reset ¶
func (x *UpdateCategoryBrandRequest) Reset()
func (*UpdateCategoryBrandRequest) String ¶
func (x *UpdateCategoryBrandRequest) String() string