From 6ef4ff53895b4ca88db2eacd3d366ee30edb34f6 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Mon, 30 Sep 2024 16:25:40 +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/complaint_notify_url.go | 35 --------------------------- services/pay/merchant_config_debug.go | 33 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 35 deletions(-) delete mode 100644 services/pay/complaint_notify_url.go create mode 100644 services/pay/merchant_config_debug.go diff --git a/services/pay/complaint_notify_url.go b/services/pay/complaint_notify_url.go deleted file mode 100644 index 571fdb9..0000000 --- a/services/pay/complaint_notify_url.go +++ /dev/null @@ -1,35 +0,0 @@ -package pay - -import ( - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" - "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" -) - -type ComplaintNotifyUrlRequest struct { - *requests.RpcRequest - MchId string `position:"Body" field:"mch_id" default:"" ` - NotifyUrl string `position:"Body" field:"notify_url" default:"" ` - Type int `position:"Body" field:"type" default:""` -} - -type ComplaintNotifyUrlResponse struct { - *responses.BaseResponse - Code int `json:"code"` - Msg string `json:"msg"` -} - -func CreateComplaintNotifyUrlRequest() (req *ComplaintNotifyUrlRequest) { - req = &ComplaintNotifyUrlRequest{ - RpcRequest: &requests.RpcRequest{}, - } - req.InitWithApiInfo(HOST, VERSION, "/api/complaint/createWxNotifyUrl") - req.Method = requests.POST - return -} - -func CreateComplaintNotifyUrlResponse() (response *ComplaintNotifyUrlResponse) { - response = &ComplaintNotifyUrlResponse{ - BaseResponse: &responses.BaseResponse{}, - } - return -} diff --git a/services/pay/merchant_config_debug.go b/services/pay/merchant_config_debug.go new file mode 100644 index 0000000..67c7e83 --- /dev/null +++ b/services/pay/merchant_config_debug.go @@ -0,0 +1,33 @@ +package pay + +import ( + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" +) + +type merchantConfigDebugRequest struct { + *requests.RpcRequest + MchId string `position:"Body" field:"mch_id" default:"" ` +} + +type merchantConfigDebugResponse struct { + *responses.BaseResponse + Code int `json:"code"` + Msg string `json:"msg"` +} + +func CreateMerchantConfigDebugRequest() (req *ComplaintNotifyUrlRequest) { + req = &ComplaintNotifyUrlRequest{ + RpcRequest: &requests.RpcRequest{}, + } + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/configDebug") + req.Method = requests.POST + return +} + +func CreateMerchantConfigDebugResponse() (response *ComplaintNotifyUrlResponse) { + response = &ComplaintNotifyUrlResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +}