From 34b757ca09d09becb272c23c328f0fcecfbc5ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E7=82=9C=20=E5=8D=A2?= <307958040@qq.com> Date: Tue, 4 Jun 2024 11:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84pay=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B7=A5=E5=8D=95=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=E3=80=81=E5=9B=9E=E5=A4=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=81=E5=AE=8C=E6=88=90=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/client.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/services/pay/client.go b/services/pay/client.go index 42edac3..d3d01a9 100644 --- a/services/pay/client.go +++ b/services/pay/client.go @@ -31,18 +31,6 @@ func NewClient() (client *Client, err error) { return } -func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) { - client = &Client{} - err = client.InitWithAccessKey(accesskey, secrect, source) - return -} - -func NewClientWithAliAppcode(accesskey, secrect string, env ...string) (client *Client, err error) { - client = &Client{} - err = client.InitWithAliAppcode(accesskey, secrect, env...) - return -} - func (c *Client) ComplaintReply(req *ComplaintReplyRequest) (response *ComplaintReplyResponse, err error) { response = CreateComplaintReplyResponse() err = c.DoAction(req, response)