Documentation ¶
Index ¶
- Constants
- Variables
- func NewAccountStoreEndpoints() []*api.Endpoint
- func RegisterAccountStoreHandler(s server.Server, hdlr AccountStoreHandler, opts ...server.HandlerOption) error
- type AccountStoreHandler
- type AccountStoreService
- type BuyGoodsReq
- func (*BuyGoodsReq) Descriptor() ([]byte, []int)deprecated
- func (x *BuyGoodsReq) GetGoodsId() int64
- func (x *BuyGoodsReq) GetPrice() int64
- func (x *BuyGoodsReq) GetRenewId() int64
- func (x *BuyGoodsReq) GetUserId() int64
- func (*BuyGoodsReq) ProtoMessage()
- func (x *BuyGoodsReq) ProtoReflect() protoreflect.Message
- func (x *BuyGoodsReq) Reset()
- func (x *BuyGoodsReq) String() string
- type BuyGoodsRes
- type CreateGoodsReq
- type CreateGoodsRes
- type DeleteGoodsReq
- type DeleteGoodsRes
- type GetGoodsByIdReq
- type GetGoodsByIdRes
- type GetGoodsDetailReq
- type GetGoodsDetailRes
- type GetSaleGoodsIdReq
- func (*GetSaleGoodsIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSaleGoodsIdReq) GetCountry() string
- func (x *GetSaleGoodsIdReq) GetGoodsType() int32
- func (x *GetSaleGoodsIdReq) GetOuterId() []int64
- func (*GetSaleGoodsIdReq) ProtoMessage()
- func (x *GetSaleGoodsIdReq) ProtoReflect() protoreflect.Message
- func (x *GetSaleGoodsIdReq) Reset()
- func (x *GetSaleGoodsIdReq) String() string
- type GetSaleGoodsIdRes
- func (*GetSaleGoodsIdRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetSaleGoodsIdRes) GetGoodsMap() map[int64]int64
- func (*GetSaleGoodsIdRes) ProtoMessage()
- func (x *GetSaleGoodsIdRes) ProtoReflect() protoreflect.Message
- func (x *GetSaleGoodsIdRes) Reset()
- func (x *GetSaleGoodsIdRes) String() string
- type GetSaleStatusReq
- func (*GetSaleStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSaleStatusReq) GetCountry() string
- func (x *GetSaleStatusReq) GetGoodsType() int32
- func (x *GetSaleStatusReq) GetOuterId() []int64
- func (*GetSaleStatusReq) ProtoMessage()
- func (x *GetSaleStatusReq) ProtoReflect() protoreflect.Message
- func (x *GetSaleStatusReq) Reset()
- func (x *GetSaleStatusReq) String() string
- type GetSaleStatusRes
- func (*GetSaleStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetSaleStatusRes) GetStatusMap() map[int64]bool
- func (*GetSaleStatusRes) ProtoMessage()
- func (x *GetSaleStatusRes) ProtoReflect() protoreflect.Message
- func (x *GetSaleStatusRes) Reset()
- func (x *GetSaleStatusRes) String() string
- type GoodsItem
- func (*GoodsItem) Descriptor() ([]byte, []int)deprecated
- func (x *GoodsItem) GetCountry() string
- func (x *GoodsItem) GetCreatedAt() string
- func (x *GoodsItem) GetGoodsId() int64
- func (x *GoodsItem) GetGoodsType() int32
- func (x *GoodsItem) GetIsOnSale() bool
- func (x *GoodsItem) GetOuterId() int64
- func (x *GoodsItem) GetSku() []*GoodsSku
- func (x *GoodsItem) GetSortNumber() int64
- func (x *GoodsItem) GetTermByPrice(price int64) (term int64, err error)
- func (x *GoodsItem) GetUpdatedAt() string
- func (*GoodsItem) ProtoMessage()
- func (x *GoodsItem) ProtoReflect() protoreflect.Message
- func (x *GoodsItem) Reset()
- func (x *GoodsItem) String() string
- type GoodsSku
- type ListGoodsReq
- func (*ListGoodsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListGoodsReq) GetCountry() string
- func (x *ListGoodsReq) GetGoodsType() int32
- func (x *ListGoodsReq) GetPage() int64
- func (x *ListGoodsReq) GetSize() int64
- func (*ListGoodsReq) ProtoMessage()
- func (x *ListGoodsReq) ProtoReflect() protoreflect.Message
- func (x *ListGoodsReq) Reset()
- func (x *ListGoodsReq) String() string
- type ListGoodsRes
- func (*ListGoodsRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListGoodsRes) GetList() []*GoodsItem
- func (x *ListGoodsRes) GetPage() int64
- func (x *ListGoodsRes) GetSize() int64
- func (x *ListGoodsRes) GetTotal() int64
- func (*ListGoodsRes) ProtoMessage()
- func (x *ListGoodsRes) ProtoReflect() protoreflect.Message
- func (x *ListGoodsRes) Reset()
- func (x *ListGoodsRes) String() string
- type OnSaleGoodsReq
- func (*OnSaleGoodsReq) Descriptor() ([]byte, []int)deprecated
- func (x *OnSaleGoodsReq) GetCountry() string
- func (x *OnSaleGoodsReq) GetGoodsType() int32
- func (x *OnSaleGoodsReq) GetPage() int64
- func (x *OnSaleGoodsReq) GetSize() int64
- func (*OnSaleGoodsReq) ProtoMessage()
- func (x *OnSaleGoodsReq) ProtoReflect() protoreflect.Message
- func (x *OnSaleGoodsReq) Reset()
- func (x *OnSaleGoodsReq) String() string
- type OnSaleGoodsRes
- func (*OnSaleGoodsRes) Descriptor() ([]byte, []int)deprecated
- func (x *OnSaleGoodsRes) GetList() []*GoodsItem
- func (x *OnSaleGoodsRes) GetPage() int64
- func (x *OnSaleGoodsRes) GetSize() int64
- func (x *OnSaleGoodsRes) GetTotal() int64
- func (*OnSaleGoodsRes) ProtoMessage()
- func (x *OnSaleGoodsRes) ProtoReflect() protoreflect.Message
- func (x *OnSaleGoodsRes) Reset()
- func (x *OnSaleGoodsRes) String() string
- type SwitchGoodsStatusReq
- func (*SwitchGoodsStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchGoodsStatusReq) GetGoodsId() int64
- func (x *SwitchGoodsStatusReq) GetStatus() int32
- func (*SwitchGoodsStatusReq) ProtoMessage()
- func (x *SwitchGoodsStatusReq) ProtoReflect() protoreflect.Message
- func (x *SwitchGoodsStatusReq) Reset()
- func (x *SwitchGoodsStatusReq) String() string
- type SwitchGoodsStatusRes
- func (*SwitchGoodsStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchGoodsStatusRes) GetGoodsId() int64
- func (x *SwitchGoodsStatusRes) GetStatus() int32
- func (*SwitchGoodsStatusRes) ProtoMessage()
- func (x *SwitchGoodsStatusRes) ProtoReflect() protoreflect.Message
- func (x *SwitchGoodsStatusRes) Reset()
- func (x *SwitchGoodsStatusRes) String() string
- type UpdateGoodsReq
- type UpdateGoodsRes
- type UpdateSortNumberReq
- func (*UpdateSortNumberReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSortNumberReq) GetGoodsId() int64
- func (x *UpdateSortNumberReq) GetSortNumber() int64
- func (*UpdateSortNumberReq) ProtoMessage()
- func (x *UpdateSortNumberReq) ProtoReflect() protoreflect.Message
- func (x *UpdateSortNumberReq) Reset()
- func (x *UpdateSortNumberReq) String() string
- type UpdateSortNumberRes
- func (*UpdateSortNumberRes) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSortNumberRes) GetGoodsId() int64
- func (x *UpdateSortNumberRes) GetSortNumber() int64
- func (*UpdateSortNumberRes) ProtoMessage()
- func (x *UpdateSortNumberRes) ProtoReflect() protoreflect.Message
- func (x *UpdateSortNumberRes) Reset()
- func (x *UpdateSortNumberRes) String() string
Constants ¶
const ( // 1座驾,2头像框,3靓号,4资料卡,5礼包 StoreItemTypeCar = 1 // 商店商品类型-座驾 StoreItemTypeAvatarFrame = 2 // 商店商品类型-头像框 // 金豆礼包 StoreGiftBagTypeBean = 1 )
Variables ¶
var File_proto_store_store_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountStoreHandler ¶
func RegisterAccountStoreHandler(s server.Server, hdlr AccountStoreHandler, opts ...server.HandlerOption) error
Types ¶
type AccountStoreHandler ¶
type AccountStoreHandler interface { OnSaleGoods(context.Context, *OnSaleGoodsReq, *OnSaleGoodsRes) error GetGoodsDetail(context.Context, *GetGoodsDetailReq, *GetGoodsDetailRes) error BuyGoods(context.Context, *BuyGoodsReq, *BuyGoodsRes) error GetSaleStatus(context.Context, *GetSaleStatusReq, *GetSaleStatusRes) error GetSaleGoodsId(context.Context, *GetSaleGoodsIdReq, *GetSaleGoodsIdRes) error CreateGoods(context.Context, *CreateGoodsReq, *CreateGoodsRes) error UpdateGoods(context.Context, *UpdateGoodsReq, *UpdateGoodsRes) error DeleteGoods(context.Context, *DeleteGoodsReq, *DeleteGoodsRes) error GetGoodsById(context.Context, *GetGoodsByIdReq, *GetGoodsByIdRes) error SwitchGoodsStatus(context.Context, *SwitchGoodsStatusReq, *SwitchGoodsStatusRes) error UpdateSortNumber(context.Context, *UpdateSortNumberReq, *UpdateSortNumberRes) error ListGoods(context.Context, *ListGoodsReq, *ListGoodsRes) error }
type AccountStoreService ¶
type AccountStoreService interface { OnSaleGoods(ctx context.Context, in *OnSaleGoodsReq, opts ...client.CallOption) (*OnSaleGoodsRes, error) GetGoodsDetail(ctx context.Context, in *GetGoodsDetailReq, opts ...client.CallOption) (*GetGoodsDetailRes, error) BuyGoods(ctx context.Context, in *BuyGoodsReq, opts ...client.CallOption) (*BuyGoodsRes, error) GetSaleStatus(ctx context.Context, in *GetSaleStatusReq, opts ...client.CallOption) (*GetSaleStatusRes, error) GetSaleGoodsId(ctx context.Context, in *GetSaleGoodsIdReq, opts ...client.CallOption) (*GetSaleGoodsIdRes, error) CreateGoods(ctx context.Context, in *CreateGoodsReq, opts ...client.CallOption) (*CreateGoodsRes, error) UpdateGoods(ctx context.Context, in *UpdateGoodsReq, opts ...client.CallOption) (*UpdateGoodsRes, error) DeleteGoods(ctx context.Context, in *DeleteGoodsReq, opts ...client.CallOption) (*DeleteGoodsRes, error) GetGoodsById(ctx context.Context, in *GetGoodsByIdReq, opts ...client.CallOption) (*GetGoodsByIdRes, error) SwitchGoodsStatus(ctx context.Context, in *SwitchGoodsStatusReq, opts ...client.CallOption) (*SwitchGoodsStatusRes, error) UpdateSortNumber(ctx context.Context, in *UpdateSortNumberReq, opts ...client.CallOption) (*UpdateSortNumberRes, error) ListGoods(ctx context.Context, in *ListGoodsReq, opts ...client.CallOption) (*ListGoodsRes, error) }
func NewAccountStoreService ¶
func NewAccountStoreService(name string, c client.Client) AccountStoreService
type BuyGoodsReq ¶
type BuyGoodsReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price"` RenewId int64 `protobuf:"varint,3,opt,name=renew_id,json=renewId,proto3" json:"renew_id"` UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id"` // contains filtered or unexported fields }
func (*BuyGoodsReq) Descriptor
deprecated
func (*BuyGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use BuyGoodsReq.ProtoReflect.Descriptor instead.
func (*BuyGoodsReq) GetGoodsId ¶
func (x *BuyGoodsReq) GetGoodsId() int64
func (*BuyGoodsReq) GetPrice ¶
func (x *BuyGoodsReq) GetPrice() int64
func (*BuyGoodsReq) GetRenewId ¶
func (x *BuyGoodsReq) GetRenewId() int64
func (*BuyGoodsReq) GetUserId ¶
func (x *BuyGoodsReq) GetUserId() int64
func (*BuyGoodsReq) ProtoMessage ¶
func (*BuyGoodsReq) ProtoMessage()
func (*BuyGoodsReq) ProtoReflect ¶
func (x *BuyGoodsReq) ProtoReflect() protoreflect.Message
func (*BuyGoodsReq) Reset ¶
func (x *BuyGoodsReq) Reset()
func (*BuyGoodsReq) String ¶
func (x *BuyGoodsReq) String() string
type BuyGoodsRes ¶
type BuyGoodsRes struct { BeanBalance int64 `protobuf:"varint,1,opt,name=bean_balance,json=beanBalance,proto3" json:"bean_balance"` // contains filtered or unexported fields }
func (*BuyGoodsRes) Descriptor
deprecated
func (*BuyGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use BuyGoodsRes.ProtoReflect.Descriptor instead.
func (*BuyGoodsRes) GetBeanBalance ¶
func (x *BuyGoodsRes) GetBeanBalance() int64
func (*BuyGoodsRes) ProtoMessage ¶
func (*BuyGoodsRes) ProtoMessage()
func (*BuyGoodsRes) ProtoReflect ¶
func (x *BuyGoodsRes) ProtoReflect() protoreflect.Message
func (*BuyGoodsRes) Reset ¶
func (x *BuyGoodsRes) Reset()
func (*BuyGoodsRes) String ¶
func (x *BuyGoodsRes) String() string
type CreateGoodsReq ¶
type CreateGoodsReq struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*CreateGoodsReq) Descriptor
deprecated
func (*CreateGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateGoodsReq.ProtoReflect.Descriptor instead.
func (*CreateGoodsReq) GetGoods ¶
func (x *CreateGoodsReq) GetGoods() *GoodsItem
func (*CreateGoodsReq) ProtoMessage ¶
func (*CreateGoodsReq) ProtoMessage()
func (*CreateGoodsReq) ProtoReflect ¶
func (x *CreateGoodsReq) ProtoReflect() protoreflect.Message
func (*CreateGoodsReq) Reset ¶
func (x *CreateGoodsReq) Reset()
func (*CreateGoodsReq) String ¶
func (x *CreateGoodsReq) String() string
type CreateGoodsRes ¶
type CreateGoodsRes struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*CreateGoodsRes) Descriptor
deprecated
func (*CreateGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateGoodsRes.ProtoReflect.Descriptor instead.
func (*CreateGoodsRes) GetGoods ¶
func (x *CreateGoodsRes) GetGoods() *GoodsItem
func (*CreateGoodsRes) ProtoMessage ¶
func (*CreateGoodsRes) ProtoMessage()
func (*CreateGoodsRes) ProtoReflect ¶
func (x *CreateGoodsRes) ProtoReflect() protoreflect.Message
func (*CreateGoodsRes) Reset ¶
func (x *CreateGoodsRes) Reset()
func (*CreateGoodsRes) String ¶
func (x *CreateGoodsRes) String() string
type DeleteGoodsReq ¶
type DeleteGoodsReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // contains filtered or unexported fields }
func (*DeleteGoodsReq) Descriptor
deprecated
func (*DeleteGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGoodsReq.ProtoReflect.Descriptor instead.
func (*DeleteGoodsReq) GetGoodsId ¶
func (x *DeleteGoodsReq) GetGoodsId() int64
func (*DeleteGoodsReq) ProtoMessage ¶
func (*DeleteGoodsReq) ProtoMessage()
func (*DeleteGoodsReq) ProtoReflect ¶
func (x *DeleteGoodsReq) ProtoReflect() protoreflect.Message
func (*DeleteGoodsReq) Reset ¶
func (x *DeleteGoodsReq) Reset()
func (*DeleteGoodsReq) String ¶
func (x *DeleteGoodsReq) String() string
type DeleteGoodsRes ¶
type DeleteGoodsRes struct {
// contains filtered or unexported fields
}
func (*DeleteGoodsRes) Descriptor
deprecated
func (*DeleteGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGoodsRes.ProtoReflect.Descriptor instead.
func (*DeleteGoodsRes) ProtoMessage ¶
func (*DeleteGoodsRes) ProtoMessage()
func (*DeleteGoodsRes) ProtoReflect ¶
func (x *DeleteGoodsRes) ProtoReflect() protoreflect.Message
func (*DeleteGoodsRes) Reset ¶
func (x *DeleteGoodsRes) Reset()
func (*DeleteGoodsRes) String ¶
func (x *DeleteGoodsRes) String() string
type GetGoodsByIdReq ¶
type GetGoodsByIdReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // contains filtered or unexported fields }
func (*GetGoodsByIdReq) Descriptor
deprecated
func (*GetGoodsByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsByIdReq.ProtoReflect.Descriptor instead.
func (*GetGoodsByIdReq) GetGoodsId ¶
func (x *GetGoodsByIdReq) GetGoodsId() int64
func (*GetGoodsByIdReq) ProtoMessage ¶
func (*GetGoodsByIdReq) ProtoMessage()
func (*GetGoodsByIdReq) ProtoReflect ¶
func (x *GetGoodsByIdReq) ProtoReflect() protoreflect.Message
func (*GetGoodsByIdReq) Reset ¶
func (x *GetGoodsByIdReq) Reset()
func (*GetGoodsByIdReq) String ¶
func (x *GetGoodsByIdReq) String() string
type GetGoodsByIdRes ¶
type GetGoodsByIdRes struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*GetGoodsByIdRes) Descriptor
deprecated
func (*GetGoodsByIdRes) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsByIdRes.ProtoReflect.Descriptor instead.
func (*GetGoodsByIdRes) GetGoods ¶
func (x *GetGoodsByIdRes) GetGoods() *GoodsItem
func (*GetGoodsByIdRes) ProtoMessage ¶
func (*GetGoodsByIdRes) ProtoMessage()
func (*GetGoodsByIdRes) ProtoReflect ¶
func (x *GetGoodsByIdRes) ProtoReflect() protoreflect.Message
func (*GetGoodsByIdRes) Reset ¶
func (x *GetGoodsByIdRes) Reset()
func (*GetGoodsByIdRes) String ¶
func (x *GetGoodsByIdRes) String() string
type GetGoodsDetailReq ¶
type GetGoodsDetailReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // contains filtered or unexported fields }
func (*GetGoodsDetailReq) Descriptor
deprecated
func (*GetGoodsDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsDetailReq.ProtoReflect.Descriptor instead.
func (*GetGoodsDetailReq) GetGoodsId ¶
func (x *GetGoodsDetailReq) GetGoodsId() int64
func (*GetGoodsDetailReq) ProtoMessage ¶
func (*GetGoodsDetailReq) ProtoMessage()
func (*GetGoodsDetailReq) ProtoReflect ¶
func (x *GetGoodsDetailReq) ProtoReflect() protoreflect.Message
func (*GetGoodsDetailReq) Reset ¶
func (x *GetGoodsDetailReq) Reset()
func (*GetGoodsDetailReq) String ¶
func (x *GetGoodsDetailReq) String() string
type GetGoodsDetailRes ¶
type GetGoodsDetailRes struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*GetGoodsDetailRes) Descriptor
deprecated
func (*GetGoodsDetailRes) Descriptor() ([]byte, []int)
Deprecated: Use GetGoodsDetailRes.ProtoReflect.Descriptor instead.
func (*GetGoodsDetailRes) GetGoods ¶
func (x *GetGoodsDetailRes) GetGoods() *GoodsItem
func (*GetGoodsDetailRes) ProtoMessage ¶
func (*GetGoodsDetailRes) ProtoMessage()
func (*GetGoodsDetailRes) ProtoReflect ¶
func (x *GetGoodsDetailRes) ProtoReflect() protoreflect.Message
func (*GetGoodsDetailRes) Reset ¶
func (x *GetGoodsDetailRes) Reset()
func (*GetGoodsDetailRes) String ¶
func (x *GetGoodsDetailRes) String() string
type GetSaleGoodsIdReq ¶
type GetSaleGoodsIdReq struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` GoodsType int32 `protobuf:"varint,2,opt,name=goods_type,json=goodsType,proto3" json:"goods_type"` OuterId []int64 `protobuf:"varint,3,rep,packed,name=outer_id,json=outerId,proto3" json:"outer_id"` // contains filtered or unexported fields }
func (*GetSaleGoodsIdReq) Descriptor
deprecated
func (*GetSaleGoodsIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSaleGoodsIdReq.ProtoReflect.Descriptor instead.
func (*GetSaleGoodsIdReq) GetCountry ¶
func (x *GetSaleGoodsIdReq) GetCountry() string
func (*GetSaleGoodsIdReq) GetGoodsType ¶
func (x *GetSaleGoodsIdReq) GetGoodsType() int32
func (*GetSaleGoodsIdReq) GetOuterId ¶
func (x *GetSaleGoodsIdReq) GetOuterId() []int64
func (*GetSaleGoodsIdReq) ProtoMessage ¶
func (*GetSaleGoodsIdReq) ProtoMessage()
func (*GetSaleGoodsIdReq) ProtoReflect ¶
func (x *GetSaleGoodsIdReq) ProtoReflect() protoreflect.Message
func (*GetSaleGoodsIdReq) Reset ¶
func (x *GetSaleGoodsIdReq) Reset()
func (*GetSaleGoodsIdReq) String ¶
func (x *GetSaleGoodsIdReq) String() string
type GetSaleGoodsIdRes ¶
type GetSaleGoodsIdRes struct { GoodsMap map[int64]int64 `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSaleGoodsIdRes) Descriptor
deprecated
func (*GetSaleGoodsIdRes) Descriptor() ([]byte, []int)
Deprecated: Use GetSaleGoodsIdRes.ProtoReflect.Descriptor instead.
func (*GetSaleGoodsIdRes) GetGoodsMap ¶
func (x *GetSaleGoodsIdRes) GetGoodsMap() map[int64]int64
func (*GetSaleGoodsIdRes) ProtoMessage ¶
func (*GetSaleGoodsIdRes) ProtoMessage()
func (*GetSaleGoodsIdRes) ProtoReflect ¶
func (x *GetSaleGoodsIdRes) ProtoReflect() protoreflect.Message
func (*GetSaleGoodsIdRes) Reset ¶
func (x *GetSaleGoodsIdRes) Reset()
func (*GetSaleGoodsIdRes) String ¶
func (x *GetSaleGoodsIdRes) String() string
type GetSaleStatusReq ¶
type GetSaleStatusReq struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` GoodsType int32 `protobuf:"varint,2,opt,name=goods_type,json=goodsType,proto3" json:"goods_type"` OuterId []int64 `protobuf:"varint,3,rep,packed,name=outer_id,json=outerId,proto3" json:"outer_id"` // contains filtered or unexported fields }
func (*GetSaleStatusReq) Descriptor
deprecated
func (*GetSaleStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSaleStatusReq.ProtoReflect.Descriptor instead.
func (*GetSaleStatusReq) GetCountry ¶
func (x *GetSaleStatusReq) GetCountry() string
func (*GetSaleStatusReq) GetGoodsType ¶
func (x *GetSaleStatusReq) GetGoodsType() int32
func (*GetSaleStatusReq) GetOuterId ¶
func (x *GetSaleStatusReq) GetOuterId() []int64
func (*GetSaleStatusReq) ProtoMessage ¶
func (*GetSaleStatusReq) ProtoMessage()
func (*GetSaleStatusReq) ProtoReflect ¶
func (x *GetSaleStatusReq) ProtoReflect() protoreflect.Message
func (*GetSaleStatusReq) Reset ¶
func (x *GetSaleStatusReq) Reset()
func (*GetSaleStatusReq) String ¶
func (x *GetSaleStatusReq) String() string
type GetSaleStatusRes ¶
type GetSaleStatusRes struct { StatusMap map[int64]bool `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSaleStatusRes) Descriptor
deprecated
func (*GetSaleStatusRes) Descriptor() ([]byte, []int)
Deprecated: Use GetSaleStatusRes.ProtoReflect.Descriptor instead.
func (*GetSaleStatusRes) GetStatusMap ¶
func (x *GetSaleStatusRes) GetStatusMap() map[int64]bool
func (*GetSaleStatusRes) ProtoMessage ¶
func (*GetSaleStatusRes) ProtoMessage()
func (*GetSaleStatusRes) ProtoReflect ¶
func (x *GetSaleStatusRes) ProtoReflect() protoreflect.Message
func (*GetSaleStatusRes) Reset ¶
func (x *GetSaleStatusRes) Reset()
func (*GetSaleStatusRes) String ¶
func (x *GetSaleStatusRes) String() string
type GoodsItem ¶
type GoodsItem struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // 商品ID Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country"` // 所属国家 GoodsType int32 `protobuf:"varint,4,opt,name=goods_type,json=goodsType,proto3" json:"goods_type"` // 商品类型 1座驾,2头像框 OuterId int64 `protobuf:"varint,6,opt,name=outer_id,json=outerId,proto3" json:"outer_id"` // 按类型关联的外部ID SortNumber int64 `protobuf:"varint,8,opt,name=sort_number,json=sortNumber,proto3" json:"sort_number"` // 排序值 Sku []*GoodsSku `protobuf:"bytes,7,rep,name=sku,proto3" json:"sku"` // 价格 IsOnSale bool `protobuf:"varint,9,opt,name=is_on_sale,json=isOnSale,proto3" json:"is_on_sale"` // CreatedAt string `protobuf:"bytes,30,opt,name=created_at,json=createdAt,proto3" json:"created_at"` // 创建时间 UpdatedAt string `protobuf:"bytes,31,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"` // 更新时间 // contains filtered or unexported fields }
func (*GoodsItem) Descriptor
deprecated
func (*GoodsItem) GetCountry ¶
func (*GoodsItem) GetCreatedAt ¶
func (*GoodsItem) GetGoodsId ¶
func (*GoodsItem) GetGoodsType ¶
func (*GoodsItem) GetIsOnSale ¶
func (*GoodsItem) GetOuterId ¶
func (*GoodsItem) GetSortNumber ¶
func (*GoodsItem) GetTermByPrice ¶
func (*GoodsItem) GetUpdatedAt ¶
func (*GoodsItem) ProtoMessage ¶
func (*GoodsItem) ProtoMessage()
func (*GoodsItem) ProtoReflect ¶
func (x *GoodsItem) ProtoReflect() protoreflect.Message
type GoodsSku ¶
type GoodsSku struct { Term int64 `protobuf:"varint,1,opt,name=term,proto3" json:"term"` // 期限天数 Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price"` // 价格 // contains filtered or unexported fields }
func (*GoodsSku) Descriptor
deprecated
func (*GoodsSku) ProtoMessage ¶
func (*GoodsSku) ProtoMessage()
func (*GoodsSku) ProtoReflect ¶
func (x *GoodsSku) ProtoReflect() protoreflect.Message
type ListGoodsReq ¶
type ListGoodsReq struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // 国家 GoodsType int32 `protobuf:"varint,2,opt,name=goods_type,json=goodsType,proto3" json:"goods_type"` // 商品类型 1座驾,2头像框 Page int64 `protobuf:"varint,40,opt,name=page,proto3" json:"page"` // 页码 Size int64 `protobuf:"varint,41,opt,name=size,proto3" json:"size"` // 单页记录数 // contains filtered or unexported fields }
func (*ListGoodsReq) Descriptor
deprecated
func (*ListGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListGoodsReq.ProtoReflect.Descriptor instead.
func (*ListGoodsReq) GetCountry ¶
func (x *ListGoodsReq) GetCountry() string
func (*ListGoodsReq) GetGoodsType ¶
func (x *ListGoodsReq) GetGoodsType() int32
func (*ListGoodsReq) GetPage ¶
func (x *ListGoodsReq) GetPage() int64
func (*ListGoodsReq) GetSize ¶
func (x *ListGoodsReq) GetSize() int64
func (*ListGoodsReq) ProtoMessage ¶
func (*ListGoodsReq) ProtoMessage()
func (*ListGoodsReq) ProtoReflect ¶
func (x *ListGoodsReq) ProtoReflect() protoreflect.Message
func (*ListGoodsReq) Reset ¶
func (x *ListGoodsReq) Reset()
func (*ListGoodsReq) String ¶
func (x *ListGoodsReq) String() string
type ListGoodsRes ¶
type ListGoodsRes struct { List []*GoodsItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"` // 当前页码 Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size"` // 单页条数 Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total"` // 符合条件的总记录数量 // contains filtered or unexported fields }
func (*ListGoodsRes) Descriptor
deprecated
func (*ListGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use ListGoodsRes.ProtoReflect.Descriptor instead.
func (*ListGoodsRes) GetList ¶
func (x *ListGoodsRes) GetList() []*GoodsItem
func (*ListGoodsRes) GetPage ¶
func (x *ListGoodsRes) GetPage() int64
func (*ListGoodsRes) GetSize ¶
func (x *ListGoodsRes) GetSize() int64
func (*ListGoodsRes) GetTotal ¶
func (x *ListGoodsRes) GetTotal() int64
func (*ListGoodsRes) ProtoMessage ¶
func (*ListGoodsRes) ProtoMessage()
func (*ListGoodsRes) ProtoReflect ¶
func (x *ListGoodsRes) ProtoReflect() protoreflect.Message
func (*ListGoodsRes) Reset ¶
func (x *ListGoodsRes) Reset()
func (*ListGoodsRes) String ¶
func (x *ListGoodsRes) String() string
type OnSaleGoodsReq ¶
type OnSaleGoodsReq struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country"` // 国家 GoodsType int32 `protobuf:"varint,2,opt,name=goods_type,json=goodsType,proto3" json:"goods_type"` // 分类 1座驾,2头像框 Page int64 `protobuf:"varint,40,opt,name=page,proto3" json:"page"` // 页码 Size int64 `protobuf:"varint,41,opt,name=size,proto3" json:"size"` // 单页条数 // contains filtered or unexported fields }
func (*OnSaleGoodsReq) Descriptor
deprecated
func (*OnSaleGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use OnSaleGoodsReq.ProtoReflect.Descriptor instead.
func (*OnSaleGoodsReq) GetCountry ¶
func (x *OnSaleGoodsReq) GetCountry() string
func (*OnSaleGoodsReq) GetGoodsType ¶
func (x *OnSaleGoodsReq) GetGoodsType() int32
func (*OnSaleGoodsReq) GetPage ¶
func (x *OnSaleGoodsReq) GetPage() int64
func (*OnSaleGoodsReq) GetSize ¶
func (x *OnSaleGoodsReq) GetSize() int64
func (*OnSaleGoodsReq) ProtoMessage ¶
func (*OnSaleGoodsReq) ProtoMessage()
func (*OnSaleGoodsReq) ProtoReflect ¶
func (x *OnSaleGoodsReq) ProtoReflect() protoreflect.Message
func (*OnSaleGoodsReq) Reset ¶
func (x *OnSaleGoodsReq) Reset()
func (*OnSaleGoodsReq) String ¶
func (x *OnSaleGoodsReq) String() string
type OnSaleGoodsRes ¶
type OnSaleGoodsRes struct { List []*GoodsItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"` // 当前页码 Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size"` // 单页条数 Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total"` // 符合条件的总记录数量 // contains filtered or unexported fields }
func (*OnSaleGoodsRes) Descriptor
deprecated
func (*OnSaleGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use OnSaleGoodsRes.ProtoReflect.Descriptor instead.
func (*OnSaleGoodsRes) GetList ¶
func (x *OnSaleGoodsRes) GetList() []*GoodsItem
func (*OnSaleGoodsRes) GetPage ¶
func (x *OnSaleGoodsRes) GetPage() int64
func (*OnSaleGoodsRes) GetSize ¶
func (x *OnSaleGoodsRes) GetSize() int64
func (*OnSaleGoodsRes) GetTotal ¶
func (x *OnSaleGoodsRes) GetTotal() int64
func (*OnSaleGoodsRes) ProtoMessage ¶
func (*OnSaleGoodsRes) ProtoMessage()
func (*OnSaleGoodsRes) ProtoReflect ¶
func (x *OnSaleGoodsRes) ProtoReflect() protoreflect.Message
func (*OnSaleGoodsRes) Reset ¶
func (x *OnSaleGoodsRes) Reset()
func (*OnSaleGoodsRes) String ¶
func (x *OnSaleGoodsRes) String() string
type SwitchGoodsStatusReq ¶
type SwitchGoodsStatusReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // 主键 Status int32 `protobuf:"varint,14,opt,name=status,proto3" json:"status"` // 商品状态:1上架中/2下架中 // contains filtered or unexported fields }
func (*SwitchGoodsStatusReq) Descriptor
deprecated
func (*SwitchGoodsStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use SwitchGoodsStatusReq.ProtoReflect.Descriptor instead.
func (*SwitchGoodsStatusReq) GetGoodsId ¶
func (x *SwitchGoodsStatusReq) GetGoodsId() int64
func (*SwitchGoodsStatusReq) GetStatus ¶
func (x *SwitchGoodsStatusReq) GetStatus() int32
func (*SwitchGoodsStatusReq) ProtoMessage ¶
func (*SwitchGoodsStatusReq) ProtoMessage()
func (*SwitchGoodsStatusReq) ProtoReflect ¶
func (x *SwitchGoodsStatusReq) ProtoReflect() protoreflect.Message
func (*SwitchGoodsStatusReq) Reset ¶
func (x *SwitchGoodsStatusReq) Reset()
func (*SwitchGoodsStatusReq) String ¶
func (x *SwitchGoodsStatusReq) String() string
type SwitchGoodsStatusRes ¶
type SwitchGoodsStatusRes struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // 主键 Status int32 `protobuf:"varint,14,opt,name=status,proto3" json:"status"` // 商品状态:1上架中/2下架中 // contains filtered or unexported fields }
func (*SwitchGoodsStatusRes) Descriptor
deprecated
func (*SwitchGoodsStatusRes) Descriptor() ([]byte, []int)
Deprecated: Use SwitchGoodsStatusRes.ProtoReflect.Descriptor instead.
func (*SwitchGoodsStatusRes) GetGoodsId ¶
func (x *SwitchGoodsStatusRes) GetGoodsId() int64
func (*SwitchGoodsStatusRes) GetStatus ¶
func (x *SwitchGoodsStatusRes) GetStatus() int32
func (*SwitchGoodsStatusRes) ProtoMessage ¶
func (*SwitchGoodsStatusRes) ProtoMessage()
func (*SwitchGoodsStatusRes) ProtoReflect ¶
func (x *SwitchGoodsStatusRes) ProtoReflect() protoreflect.Message
func (*SwitchGoodsStatusRes) Reset ¶
func (x *SwitchGoodsStatusRes) Reset()
func (*SwitchGoodsStatusRes) String ¶
func (x *SwitchGoodsStatusRes) String() string
type UpdateGoodsReq ¶
type UpdateGoodsReq struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*UpdateGoodsReq) Descriptor
deprecated
func (*UpdateGoodsReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGoodsReq.ProtoReflect.Descriptor instead.
func (*UpdateGoodsReq) GetGoods ¶
func (x *UpdateGoodsReq) GetGoods() *GoodsItem
func (*UpdateGoodsReq) ProtoMessage ¶
func (*UpdateGoodsReq) ProtoMessage()
func (*UpdateGoodsReq) ProtoReflect ¶
func (x *UpdateGoodsReq) ProtoReflect() protoreflect.Message
func (*UpdateGoodsReq) Reset ¶
func (x *UpdateGoodsReq) Reset()
func (*UpdateGoodsReq) String ¶
func (x *UpdateGoodsReq) String() string
type UpdateGoodsRes ¶
type UpdateGoodsRes struct { Goods *GoodsItem `protobuf:"bytes,1,opt,name=goods,proto3" json:"goods"` // contains filtered or unexported fields }
func (*UpdateGoodsRes) Descriptor
deprecated
func (*UpdateGoodsRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGoodsRes.ProtoReflect.Descriptor instead.
func (*UpdateGoodsRes) GetGoods ¶
func (x *UpdateGoodsRes) GetGoods() *GoodsItem
func (*UpdateGoodsRes) ProtoMessage ¶
func (*UpdateGoodsRes) ProtoMessage()
func (*UpdateGoodsRes) ProtoReflect ¶
func (x *UpdateGoodsRes) ProtoReflect() protoreflect.Message
func (*UpdateGoodsRes) Reset ¶
func (x *UpdateGoodsRes) Reset()
func (*UpdateGoodsRes) String ¶
func (x *UpdateGoodsRes) String() string
type UpdateSortNumberReq ¶
type UpdateSortNumberReq struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // 主键 SortNumber int64 `protobuf:"varint,12,opt,name=sort_number,json=sortNumber,proto3" json:"sort_number"` // 排序值,越大越靠前,默认999 // contains filtered or unexported fields }
func (*UpdateSortNumberReq) Descriptor
deprecated
func (*UpdateSortNumberReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSortNumberReq.ProtoReflect.Descriptor instead.
func (*UpdateSortNumberReq) GetGoodsId ¶
func (x *UpdateSortNumberReq) GetGoodsId() int64
func (*UpdateSortNumberReq) GetSortNumber ¶
func (x *UpdateSortNumberReq) GetSortNumber() int64
func (*UpdateSortNumberReq) ProtoMessage ¶
func (*UpdateSortNumberReq) ProtoMessage()
func (*UpdateSortNumberReq) ProtoReflect ¶
func (x *UpdateSortNumberReq) ProtoReflect() protoreflect.Message
func (*UpdateSortNumberReq) Reset ¶
func (x *UpdateSortNumberReq) Reset()
func (*UpdateSortNumberReq) String ¶
func (x *UpdateSortNumberReq) String() string
type UpdateSortNumberRes ¶
type UpdateSortNumberRes struct { GoodsId int64 `protobuf:"varint,1,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"` // 主键 SortNumber int64 `protobuf:"varint,12,opt,name=sort_number,json=sortNumber,proto3" json:"sort_number"` // 排序值,越大越靠前,默认999 // contains filtered or unexported fields }
func (*UpdateSortNumberRes) Descriptor
deprecated
func (*UpdateSortNumberRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSortNumberRes.ProtoReflect.Descriptor instead.
func (*UpdateSortNumberRes) GetGoodsId ¶
func (x *UpdateSortNumberRes) GetGoodsId() int64
func (*UpdateSortNumberRes) GetSortNumber ¶
func (x *UpdateSortNumberRes) GetSortNumber() int64
func (*UpdateSortNumberRes) ProtoMessage ¶
func (*UpdateSortNumberRes) ProtoMessage()
func (*UpdateSortNumberRes) ProtoReflect ¶
func (x *UpdateSortNumberRes) ProtoReflect() protoreflect.Message
func (*UpdateSortNumberRes) Reset ¶
func (x *UpdateSortNumberRes) Reset()
func (*UpdateSortNumberRes) String ¶
func (x *UpdateSortNumberRes) String() string