finance
黄伟 2 years ago
parent 8fe1107cf1
commit 0e474961e8

@ -6,7 +6,11 @@ import (
) )
type Supplier struct { type Supplier struct {
Goods goods Goods goods
Supplier supplier
}
type supplier struct {
} }
type ArgsSupplierAdd struct { type ArgsSupplierAdd struct {
@ -21,7 +25,7 @@ type ArgsSupplierAdd struct {
} }
// Add @Title 添加供应商 // Add @Title 添加供应商
func (s *Supplier) Add(ctx context.Context, args ArgsSupplierAdd) error { func (s *supplier) Add(ctx context.Context, args ArgsSupplierAdd) error {
xClient, err := client.GetClient(s) xClient, err := client.GetClient(s)
if err != nil { if err != nil {
return err return err

Loading…
Cancel
Save