product

package
v0.0.0-...-7a73484 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsProductEs

type ArgsProductEs struct {
	Id      int
	CateId  int
	Name    string
	TagIds  string
	BusId   int
	ShopId  int
	Details []Detail
}

type ArgsShopAddProduct

type ArgsShopAddProduct struct {
	ProductIds []int
	ShopId     int
}

type Detail

type Detail struct {
	BarCode  string
	SpecIds  string
	DetailId int
	Cost     float64
}

type Product

type Product interface {

	//总店添加 商品
	AddProduct(ctx context.Context, args *ArgsProductEs, reply *bool) error

	//门店批量添加 商品
	AddShopProducts(ctx context.Context, args *ArgsShopAddProduct, reply *bool) error

	//删除商品
	DelProduct(ctx context.Context, args *int, reply *bool) error
}

Jump to

Keyboard shortcuts

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