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 +}