From 9fcc536eeaf2a58d6e2c059ef607df1c8d770f1e Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 13 Oct 2022 15:34:09 +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/orderCancelApply.go | 25 ------------------------- supplier/supplier.go | 5 ++--- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 supplier/orderCancelApply.go diff --git a/supplier/orderCancelApply.go b/supplier/orderCancelApply.go deleted file mode 100644 index c20a4b1..0000000 --- a/supplier/orderCancelApply.go +++ /dev/null @@ -1,25 +0,0 @@ -package supplier - -import ( - "context" - "git.oa00.com/supply-chain/service/client" -) - -type orderCancelApply struct { -} - -type ArgsOrderCancelApply struct { - ChannelId uint - OrderSubSn string - Reason string -} - -// Apply @Title 申请取消订单 -func (o *orderCancelApply) Apply(ctx context.Context, args ArgsOrderCancelApply) error { - xClient, err := client.GetClient(o) - if err != nil { - return err - } - reply := 0 - return xClient.Call(ctx, "Apply", args, &reply) -} diff --git a/supplier/supplier.go b/supplier/supplier.go index 4f1f704..88101ec 100644 --- a/supplier/supplier.go +++ b/supplier/supplier.go @@ -11,9 +11,8 @@ type Supplier struct { Goods goods Apply supplierApply supplier - WarnLiaison warnLiaison - WalletApply supplierWalletApply - OrderCancelApply orderCancelApply + WarnLiaison warnLiaison + WalletApply supplierWalletApply } type supplier struct {