@ -7,6 +7,10 @@ import (
type Supplier struct {
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