Merge branch 'master' of git.oa00.com:supply-chain/service

finance
杨赟 2 years ago
commit 1fb27d20f3

@ -9,6 +9,7 @@ import (
type brand struct {
}
type ArgsBrandList struct {
Name string
Page bean.Page
}
@ -39,3 +40,13 @@ func (b *brand) Edit(ctx context.Context, args ArgsBrandEdit) error {
reply := 0
return client.GetClient(b).Call(ctx, "Edit", args, &reply)
}
type ArgsImport struct {
Name string // 品牌名称
SupplyBrandId uint // 匹配的品牌Id
}
func (b *brand) Import(ctx context.Context, args []ArgsImport) error {
reply := 0
return client.GetClient(b).Call(ctx, "Import", args, &reply)
}

@ -9,6 +9,7 @@ import (
type category struct {
}
type ArgsCategoryList struct {
ThirdCategoryId uint
Page bean.Page
}

@ -148,7 +148,7 @@ type AdoptItem struct {
}
// Adopt @Title 入库
func (s *sku) Adopt(ctx context.Context, skuIds []uint) (err error) {
reply := 0
return client.GetClient(s).Call(ctx, "Adopt", skuIds, &reply)
func (s *sku) Adopt(ctx context.Context, skuIds []uint) (reply []AdoptItem, err error) {
err = client.GetClient(s).Call(ctx, "Adopt", skuIds, &reply)
return
}

Loading…
Cancel
Save