优化商户号参数调试接口
This commit is contained in:
		
							parent
							
								
									4b55160177
								
							
						
					
					
						commit
						6ef4ff5389
					
				@ -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
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										33
									
								
								services/pay/merchant_config_debug.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								services/pay/merchant_config_debug.go
									
									
									
									
									
										Normal file
									
								
							@ -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
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user