From e3cfca5bfa69aa5afb50e504ea425e53e22118c6 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Mon, 30 Sep 2024 17:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=95=86=E6=88=B7=E5=8F=B7?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E8=AF=95=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 | 4 ++-- services/pay/merchant_config_debug.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/pay/client.go b/services/pay/client.go index 97c58ea..9e303b2 100644 --- a/services/pay/client.go +++ b/services/pay/client.go @@ -49,8 +49,8 @@ func (c *Client) ComplaintUpload(req *ComplaintUploadRequest) (response *Complai return } -func (c *Client) ComplaintNotifyUrl(req *ComplaintNotifyUrlRequest) (response *ComplaintNotifyUrlResponse, err error) { - response = CreateComplaintNotifyUrlResponse() +func (c *Client) ComplaintNotifyUrl(req *merchantConfigDebugRequest) (response *merchantConfigDebugResponse, err error) { + response = CreateMerchantConfigDebugResponse() err = c.DoAction(req, response) return } diff --git a/services/pay/merchant_config_debug.go b/services/pay/merchant_config_debug.go index 67c7e83..c574707 100644 --- a/services/pay/merchant_config_debug.go +++ b/services/pay/merchant_config_debug.go @@ -16,8 +16,8 @@ type merchantConfigDebugResponse struct { Msg string `json:"msg"` } -func CreateMerchantConfigDebugRequest() (req *ComplaintNotifyUrlRequest) { - req = &ComplaintNotifyUrlRequest{ +func CreateMerchantConfigDebugRequest() (req *merchantConfigDebugRequest) { + req = &merchantConfigDebugRequest{ RpcRequest: &requests.RpcRequest{}, } req.InitWithApiInfo(HOST, VERSION, "/api/complaint/configDebug") @@ -25,8 +25,8 @@ func CreateMerchantConfigDebugRequest() (req *ComplaintNotifyUrlRequest) { return } -func CreateMerchantConfigDebugResponse() (response *ComplaintNotifyUrlResponse) { - response = &ComplaintNotifyUrlResponse{ +func CreateMerchantConfigDebugResponse() (response *merchantConfigDebugResponse) { + response = &merchantConfigDebugResponse{ BaseResponse: &responses.BaseResponse{}, } return