server

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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) ProductCustomRead added in v0.5.1

func (s *ProductManageServer) ProductCustomRead(ctx context.Context, in *dm.ProductCustomReadReq) (*dm.ProductCustom, error)

脚本管理

func (*ProductManageServer) ProductCustomUpdate added in v0.5.1

func (s *ProductManageServer) ProductCustomUpdate(ctx context.Context, in *dm.ProductCustom) (*dm.Response, error)

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