优化商户号参数调试接口
This commit is contained in:
parent
6ef4ff5389
commit
e3cfca5bfa
@ -49,8 +49,8 @@ func (c *Client) ComplaintUpload(req *ComplaintUploadRequest) (response *Complai
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) ComplaintNotifyUrl(req *ComplaintNotifyUrlRequest) (response *ComplaintNotifyUrlResponse, err error) {
|
func (c *Client) ComplaintNotifyUrl(req *merchantConfigDebugRequest) (response *merchantConfigDebugResponse, err error) {
|
||||||
response = CreateComplaintNotifyUrlResponse()
|
response = CreateMerchantConfigDebugResponse()
|
||||||
err = c.DoAction(req, response)
|
err = c.DoAction(req, response)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -16,8 +16,8 @@ type merchantConfigDebugResponse struct {
|
|||||||
Msg string `json:"msg"`
|
Msg string `json:"msg"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateMerchantConfigDebugRequest() (req *ComplaintNotifyUrlRequest) {
|
func CreateMerchantConfigDebugRequest() (req *merchantConfigDebugRequest) {
|
||||||
req = &ComplaintNotifyUrlRequest{
|
req = &merchantConfigDebugRequest{
|
||||||
RpcRequest: &requests.RpcRequest{},
|
RpcRequest: &requests.RpcRequest{},
|
||||||
}
|
}
|
||||||
req.InitWithApiInfo(HOST, VERSION, "/api/complaint/configDebug")
|
req.InitWithApiInfo(HOST, VERSION, "/api/complaint/configDebug")
|
||||||
@ -25,8 +25,8 @@ func CreateMerchantConfigDebugRequest() (req *ComplaintNotifyUrlRequest) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateMerchantConfigDebugResponse() (response *ComplaintNotifyUrlResponse) {
|
func CreateMerchantConfigDebugResponse() (response *merchantConfigDebugResponse) {
|
||||||
response = &ComplaintNotifyUrlResponse{
|
response = &merchantConfigDebugResponse{
|
||||||
BaseResponse: &responses.BaseResponse{},
|
BaseResponse: &responses.BaseResponse{},
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user