From 0e474961e8b21893f8db0796210b7afcc9622247 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 1 Sep 2022 09:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/supplier.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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