diff --git a/supplier/supplier.go b/supplier/supplier.go index af8a165..3fb35d7 100644 --- a/supplier/supplier.go +++ b/supplier/supplier.go @@ -6,7 +6,11 @@ import ( ) type Supplier struct { - Goods goods + Goods goods + Supplier supplier +} + +type supplier struct { } type ArgsSupplierAdd struct { @@ -21,7 +25,7 @@ type ArgsSupplierAdd struct { } // 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) if err != nil { return err