server

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductManageServer

type ProductManageServer struct {
	dm.UnimplementedProductManageServer
	// contains filtered or unexported fields
}

func NewProductManageServer

func NewProductManageServer(svcCtx *svc.ServiceContext) *ProductManageServer

func (*ProductManageServer) ProductInfoCreate

func (s *ProductManageServer) ProductInfoCreate(ctx context.Context, in *dm.ProductInfo) (*dm.Response, error)

新增产品

func (*ProductManageServer) ProductInfoDelete

func (s *ProductManageServer) ProductInfoDelete(ctx context.Context, in *dm.ProductInfoDeleteReq) (*dm.Response, error)

删除产品

func (*ProductManageServer) ProductInfoIndex

获取产品信息列表

func (*ProductManageServer) ProductInfoRead

func (s *ProductManageServer) ProductInfoRead(ctx context.Context, in *dm.ProductInfoReadReq) (*dm.ProductInfo, error)

获取产品信息详情

func (*ProductManageServer) ProductInfoUpdate

func (s *ProductManageServer) ProductInfoUpdate(ctx context.Context, in *dm.ProductInfo) (*dm.Response, error)

更新产品

func (*ProductManageServer) ProductSchemaCreate

func (s *ProductManageServer) ProductSchemaCreate(ctx context.Context, in *dm.ProductSchemaCreateReq) (*dm.Response, error)

新增产品

func (*ProductManageServer) ProductSchemaDelete

func (s *ProductManageServer) ProductSchemaDelete(ctx context.Context, in *dm.ProductSchemaDeleteReq) (*dm.Response, error)

删除产品

func (*ProductManageServer) ProductSchemaIndex

获取产品信息列表

func (*ProductManageServer) ProductSchemaTslImport

func (s *ProductManageServer) ProductSchemaTslImport(ctx context.Context, in *dm.ProductSchemaTslImportReq) (*dm.Response, error)

删除产品

func (*ProductManageServer) ProductSchemaTslRead

获取产品信息列表

func (*ProductManageServer) ProductSchemaUpdate

func (s *ProductManageServer) ProductSchemaUpdate(ctx context.Context, in *dm.ProductSchemaUpdateReq) (*dm.Response, error)

更新产品物模型

Jump to

Keyboard shortcuts

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