grpcsrv

package
v0.0.0-...-fc93c80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminApiImpl

type AdminApiImpl struct {
	pb.UnimplementedCmsAdminApiServer
	pb.UnimplementedOmsAdminApiServer
	pb.UnimplementedSmsAdminApiServer
	// contains filtered or unexported fields
}

func (*AdminApiImpl) BatchUpdateSkuStock

func (s *AdminApiImpl) BatchUpdateSkuStock(ctx context.Context, param *pb.BatchUpdateSkuStockParam) (*pb.CommonRsp, error)

BatchUpdateSkuStock 批量添加sku的库存

func (*AdminApiImpl) CreateBrand

func (s *AdminApiImpl) CreateBrand(ctx context.Context, param *pb.AddOrUpdateBrandParam) (*pb.CommonRsp, error)

CreateBrand 添加商品品牌

func (*AdminApiImpl) CreateCompanyAddress

func (s *AdminApiImpl) CreateCompanyAddress(ctx context.Context, param *pb.AddOrUpdateCompanyAddressParam) (*pb.CommonRsp, error)

CreateCompanyAddress 添加公司收发货地址

func (*AdminApiImpl) CreateHomeAdvertise

func (s *AdminApiImpl) CreateHomeAdvertise(ctx context.Context, param *pb.AddOrUpdateHomeAdvertiseParam) (*pb.CommonRsp, error)

CreateHomeAdvertise 添加首页轮播广告表

func (*AdminApiImpl) CreateJsonDynamicConfig

func (s *AdminApiImpl) CreateJsonDynamicConfig(ctx context.Context, param *pb.AddOrUpdateJsonDynamicConfigParam) (*pb.CommonRsp, error)

CreateJsonDynamicConfig 添加JSON动态配置

func (*AdminApiImpl) CreateOrderReturnReason

func (s *AdminApiImpl) CreateOrderReturnReason(ctx context.Context, param *pb.AddOrUpdateOrderReturnReasonParam) (*pb.CommonRsp, error)

CreateOrderReturnReason 添加退货原因

func (*AdminApiImpl) CreatePrefrenceArea

func (s *AdminApiImpl) CreatePrefrenceArea(ctx context.Context, param *pb.AddOrUpdatePrefrenceAreaParam) (*pb.CommonRsp, error)

CreatePrefrenceArea 添加优选专区

func (*AdminApiImpl) CreateProduct

func (s *AdminApiImpl) CreateProduct(ctx context.Context, param *pb.AddOrUpdateProductParam) (*pb.CommonRsp, error)

CreateProduct 添加商品

func (*AdminApiImpl) CreateProductAttribute

func (s *AdminApiImpl) CreateProductAttribute(ctx context.Context, param *pb.AddOrUpdateProductAttributeParam) (*pb.CommonRsp, error)

CreateProductAttribute 添加商品属性参数表

func (*AdminApiImpl) CreateProductAttributeCategory

func (s *AdminApiImpl) CreateProductAttributeCategory(ctx context.Context, param *pb.AddOrUpdateProductAttributeCategoryParam) (*pb.CommonRsp, error)

CreateProductAttributeCategory 添加产品属性分类表

func (*AdminApiImpl) CreateProductCategory

func (s *AdminApiImpl) CreateProductCategory(ctx context.Context, param *pb.AddOrUpdateProductCategoryParam) (*pb.CommonRsp, error)

CreateProductCategory 添加商品分类

func (*AdminApiImpl) CreateSubject

func (s *AdminApiImpl) CreateSubject(ctx context.Context, param *pb.AddOrUpdateSubjectParam) (*pb.CommonRsp, error)

CreateSubject 添加专题表

func (*AdminApiImpl) DeleteBrand

func (s *AdminApiImpl) DeleteBrand(ctx context.Context, param *pb.DeleteBrandReq) (*pb.CommonRsp, error)

DeleteBrand 删除商品品牌

func (*AdminApiImpl) DeleteCompanyAddress

func (s *AdminApiImpl) DeleteCompanyAddress(ctx context.Context, param *pb.DeleteCompanyAddressReq) (*pb.CommonRsp, error)

DeleteCompanyAddress 删除公司收发货地址

func (*AdminApiImpl) DeleteHomeAdvertise

func (s *AdminApiImpl) DeleteHomeAdvertise(ctx context.Context, param *pb.DeleteHomeAdvertiseReq) (*pb.CommonRsp, error)

DeleteHomeAdvertise 删除首页轮播广告表

func (*AdminApiImpl) DeleteJsonDynamicConfig

func (s *AdminApiImpl) DeleteJsonDynamicConfig(ctx context.Context, param *pb.DeleteJsonDynamicConfigReq) (*pb.CommonRsp, error)

DeleteJsonDynamicConfig 删除JSON动态配置

func (*AdminApiImpl) DeleteOrder

func (s *AdminApiImpl) DeleteOrder(ctx context.Context, param *pb.DeleteOrderReq) (*pb.CommonRsp, error)

DeleteOrder 删除订单

func (*AdminApiImpl) DeleteOrderReturnReason

func (s *AdminApiImpl) DeleteOrderReturnReason(ctx context.Context, param *pb.DeleteOrderReturnReasonReq) (*pb.CommonRsp, error)

DeleteOrderReturnReason 删除退货原因

func (*AdminApiImpl) DeletePrefrenceArea

func (s *AdminApiImpl) DeletePrefrenceArea(ctx context.Context, param *pb.DeletePrefrenceAreaReq) (*pb.CommonRsp, error)

DeletePrefrenceArea 删除优选专区

func (*AdminApiImpl) DeleteProduct

func (s *AdminApiImpl) DeleteProduct(ctx context.Context, param *pb.DeleteProductReq) (*pb.CommonRsp, error)

DeleteProduct 删除商品

func (*AdminApiImpl) DeleteProductAttribute

func (s *AdminApiImpl) DeleteProductAttribute(ctx context.Context, param *pb.DeleteProductAttributeReq) (*pb.CommonRsp, error)

DeleteProductAttribute 删除商品属性参数表

func (*AdminApiImpl) DeleteProductAttributeCategory

func (s *AdminApiImpl) DeleteProductAttributeCategory(ctx context.Context, param *pb.DeleteProductAttributeCategoryReq) (*pb.CommonRsp, error)

DeleteProductAttributeCategory 删除产品属性分类表

func (*AdminApiImpl) DeleteProductCategory

func (s *AdminApiImpl) DeleteProductCategory(ctx context.Context, param *pb.DeleteProductCategoryReq) (*pb.CommonRsp, error)

DeleteProductCategory 删除商品分类

func (*AdminApiImpl) DeleteSubject

func (s *AdminApiImpl) DeleteSubject(ctx context.Context, param *pb.DeleteSubjectReq) (*pb.CommonRsp, error)

DeleteSubject 删除专题表

func (*AdminApiImpl) GetBrand

func (s *AdminApiImpl) GetBrand(ctx context.Context, param *pb.GetBrandReq) (*pb.GetBrandRsp, error)

GetBrand 根据id获取商品品牌

func (*AdminApiImpl) GetBrands

func (s *AdminApiImpl) GetBrands(ctx context.Context, param *pb.GetBrandsParam) (*pb.GetBrandsRsp, error)

GetBrands 分页查询商品品牌

func (*AdminApiImpl) GetCompanyAddress

func (s *AdminApiImpl) GetCompanyAddress(ctx context.Context, param *pb.GetCompanyAddressReq) (*pb.GetCompanyAddressRsp, error)

GetCompanyAddress 根据id获取公司收发货地址

func (*AdminApiImpl) GetCompanyAddresses

func (s *AdminApiImpl) GetCompanyAddresses(ctx context.Context, param *pb.GetCompanyAddressesParam) (*pb.GetCompanyAddressesRsp, error)

GetCompanyAddresses 分页查询公司收发货地址

func (*AdminApiImpl) GetHomeAdvertise

func (s *AdminApiImpl) GetHomeAdvertise(ctx context.Context, param *pb.GetHomeAdvertiseReq) (*pb.GetHomeAdvertiseRsp, error)

GetHomeAdvertise 根据id获取首页轮播广告表

func (*AdminApiImpl) GetHomeAdvertises

func (s *AdminApiImpl) GetHomeAdvertises(ctx context.Context, param *pb.GetHomeAdvertisesParam) (*pb.GetHomeAdvertisesRsp, error)

GetHomeAdvertises 分页查询首页轮播广告表

func (*AdminApiImpl) GetJsonDynamicConfig

func (s *AdminApiImpl) GetJsonDynamicConfig(ctx context.Context, param *pb.GetJsonDynamicConfigReq) (*pb.GetJsonDynamicConfigRsp, error)

GetJsonDynamicConfig 根据id获取JSON动态配置

func (*AdminApiImpl) GetJsonDynamicConfigs

func (s *AdminApiImpl) GetJsonDynamicConfigs(ctx context.Context, param *pb.GetJsonDynamicConfigsParam) (*pb.GetJsonDynamicConfigsRsp, error)

GetJsonDynamicConfigs 分页查询JSON动态配置

func (*AdminApiImpl) GetOrder

func (s *AdminApiImpl) GetOrder(ctx context.Context, param *pb.GetOrderReq) (*pb.GetOrderRsp, error)

GetOrder 根据id获取订单

func (*AdminApiImpl) GetOrderReturnApplies

func (s *AdminApiImpl) GetOrderReturnApplies(ctx context.Context, param *pb.GetOrderReturnAppliesParam) (*pb.GetOrderReturnAppliesRsp, error)

GetOrderReturnApplies 分页查询订单退货申请

func (*AdminApiImpl) GetOrderReturnApply

func (s *AdminApiImpl) GetOrderReturnApply(ctx context.Context, param *pb.GetOrderReturnApplyReq) (*pb.GetOrderReturnApplyRsp, error)

GetOrderReturnApply 根据id获取订单退货申请

func (*AdminApiImpl) GetOrderReturnReason

func (s *AdminApiImpl) GetOrderReturnReason(ctx context.Context, param *pb.GetOrderReturnReasonReq) (*pb.GetOrderReturnReasonRsp, error)

GetOrderReturnReason 根据id获取退货原因

func (*AdminApiImpl) GetOrderReturnReasons

func (s *AdminApiImpl) GetOrderReturnReasons(ctx context.Context, param *pb.GetOrderReturnReasonsParam) (*pb.GetOrderReturnReasonsRsp, error)

GetOrderReturnReasons 分页查询退货原因

func (*AdminApiImpl) GetOrders

func (s *AdminApiImpl) GetOrders(ctx context.Context, param *pb.GetOrdersParam) (*pb.GetOrdersRsp, error)

GetOrders 分页查询订单

func (*AdminApiImpl) GetPrefrenceArea

func (s *AdminApiImpl) GetPrefrenceArea(ctx context.Context, param *pb.GetPrefrenceAreaReq) (*pb.GetPrefrenceAreaRsp, error)

GetPrefrenceArea 根据id获取优选专区

func (*AdminApiImpl) GetPrefrenceAreas

func (s *AdminApiImpl) GetPrefrenceAreas(ctx context.Context, param *pb.GetPrefrenceAreasParam) (*pb.GetPrefrenceAreasRsp, error)

GetPrefrenceAreas 分页查询优选专区

func (*AdminApiImpl) GetProduct

func (s *AdminApiImpl) GetProduct(ctx context.Context, param *pb.GetProductReq) (*pb.GetProductRsp, error)

GetProduct 根据id获取商品

func (*AdminApiImpl) GetProductAttribute

func (s *AdminApiImpl) GetProductAttribute(ctx context.Context, param *pb.GetProductAttributeReq) (*pb.GetProductAttributeRsp, error)

GetProductAttribute 根据id获取商品属性参数表

func (*AdminApiImpl) GetProductAttributeCategories

GetProductAttributeCategories 分页查询产品属性分类表

func (*AdminApiImpl) GetProductAttributeCategory

func (s *AdminApiImpl) GetProductAttributeCategory(ctx context.Context, param *pb.GetProductAttributeCategoryReq) (*pb.GetProductAttributeCategoryRsp, error)

GetProductAttributeCategory 根据id获取产品属性分类表

func (*AdminApiImpl) GetProductAttributes

func (s *AdminApiImpl) GetProductAttributes(ctx context.Context, param *pb.GetProductAttributesParam) (*pb.GetProductAttributesRsp, error)

GetProductAttributes 分页查询商品属性参数表

func (*AdminApiImpl) GetProductCategories

func (s *AdminApiImpl) GetProductCategories(ctx context.Context, param *pb.GetProductCategoriesParam) (*pb.GetProductCategoriesRsp, error)

GetProductCategories 分页查询商品分类

func (*AdminApiImpl) GetProductCategoriesWithChildren

GetProductCategoriesWithChildren 查询所有一级分类及子分类

func (*AdminApiImpl) GetProductCategory

func (s *AdminApiImpl) GetProductCategory(ctx context.Context, param *pb.GetProductCategoryReq) (*pb.GetProductCategoryRsp, error)

GetProductCategory 根据id获取商品分类

func (*AdminApiImpl) GetProducts

func (s *AdminApiImpl) GetProducts(ctx context.Context, param *pb.GetProductsParam) (*pb.GetProductsRsp, error)

GetProducts 分页查询商品

func (*AdminApiImpl) GetSkuStocksByProductId

func (s *AdminApiImpl) GetSkuStocksByProductId(ctx context.Context, param *pb.GetSkuStocksByProductIdParam) (*pb.GetSkuStocksByProductIdRsp, error)

GetSkuStocksByProductId 根据商品id分页查询sku的库存

func (*AdminApiImpl) GetSubject

func (s *AdminApiImpl) GetSubject(ctx context.Context, param *pb.GetSubjectReq) (*pb.GetSubjectRsp, error)

GetSubject 根据id获取专题表

func (*AdminApiImpl) GetSubjects

func (s *AdminApiImpl) GetSubjects(ctx context.Context, param *pb.GetSubjectsParam) (*pb.GetSubjectsRsp, error)

GetSubjects 分页查询专题表

func (*AdminApiImpl) UpdateBrand

func (s *AdminApiImpl) UpdateBrand(ctx context.Context, param *pb.AddOrUpdateBrandParam) (*pb.CommonRsp, error)

UpdateBrand 修改商品品牌

func (*AdminApiImpl) UpdateCompanyAddress

func (s *AdminApiImpl) UpdateCompanyAddress(ctx context.Context, param *pb.AddOrUpdateCompanyAddressParam) (*pb.CommonRsp, error)

UpdateCompanyAddress 修改公司收发货地址

func (*AdminApiImpl) UpdateHomeAdvertise

func (s *AdminApiImpl) UpdateHomeAdvertise(ctx context.Context, param *pb.AddOrUpdateHomeAdvertiseParam) (*pb.CommonRsp, error)

UpdateHomeAdvertise 修改首页轮播广告表

func (*AdminApiImpl) UpdateJsonDynamicConfig

func (s *AdminApiImpl) UpdateJsonDynamicConfig(ctx context.Context, param *pb.AddOrUpdateJsonDynamicConfigParam) (*pb.CommonRsp, error)

UpdateJsonDynamicConfig 修改JSON动态配置

func (*AdminApiImpl) UpdateOrderReturnReason

func (s *AdminApiImpl) UpdateOrderReturnReason(ctx context.Context, param *pb.AddOrUpdateOrderReturnReasonParam) (*pb.CommonRsp, error)

UpdateOrderReturnReason 修改退货原因

func (*AdminApiImpl) UpdatePrefrenceArea

func (s *AdminApiImpl) UpdatePrefrenceArea(ctx context.Context, param *pb.AddOrUpdatePrefrenceAreaParam) (*pb.CommonRsp, error)

UpdatePrefrenceArea 修改优选专区

func (*AdminApiImpl) UpdateProduct

func (s *AdminApiImpl) UpdateProduct(ctx context.Context, param *pb.AddOrUpdateProductParam) (*pb.CommonRsp, error)

UpdateProduct 修改商品

func (*AdminApiImpl) UpdateProductAttribute

func (s *AdminApiImpl) UpdateProductAttribute(ctx context.Context, param *pb.AddOrUpdateProductAttributeParam) (*pb.CommonRsp, error)

UpdateProductAttribute 修改商品属性参数表

func (*AdminApiImpl) UpdateProductAttributeCategory

func (s *AdminApiImpl) UpdateProductAttributeCategory(ctx context.Context, param *pb.AddOrUpdateProductAttributeCategoryParam) (*pb.CommonRsp, error)

UpdateProductAttributeCategory 修改产品属性分类表

func (*AdminApiImpl) UpdateProductCategory

func (s *AdminApiImpl) UpdateProductCategory(ctx context.Context, param *pb.AddOrUpdateProductCategoryParam) (*pb.CommonRsp, error)

UpdateProductCategory 修改商品分类

func (*AdminApiImpl) UpdateSubject

func (s *AdminApiImpl) UpdateSubject(ctx context.Context, param *pb.AddOrUpdateSubjectParam) (*pb.CommonRsp, error)

UpdateSubject 修改专题表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL