From d5aa79b91a3fbf61af1efb5f1711a0f673616479 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 24 Aug 2022 15:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/channel/order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supply/channel/order.go b/supply/channel/order.go index b3a2eaf..98e8364 100644 --- a/supply/channel/order.go +++ b/supply/channel/order.go @@ -101,7 +101,7 @@ func (o *order) LadingBill(ctx context.Context, channelId string, orderSn string if err != nil { return } - return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Submit", orderSn, &reply) + return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "LadingBill", orderSn, &reply) } // Close @Title 关闭 @@ -111,5 +111,5 @@ func (o *order) Close(ctx context.Context, channelId string, orderSn string) (er if err != nil { return } - return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Submit", orderSn, &reply) + return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Close", orderSn, &reply) }