7
0
gaore-common-sdk-go/services/pay/merchant_config_debug.go

34 lines
833 B
Go
Raw Permalink Normal View History

2024-09-30 16:25:40 +08:00
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"`
}
2024-09-30 17:41:22 +08:00
func CreateMerchantConfigDebugRequest() (req *merchantConfigDebugRequest) {
req = &merchantConfigDebugRequest{
2024-09-30 16:25:40 +08:00
RpcRequest: &requests.RpcRequest{},
}
req.InitWithApiInfo(HOST, VERSION, "/api/complaint/configDebug")
req.Method = requests.POST
return
}
2024-09-30 17:41:22 +08:00
func CreateMerchantConfigDebugResponse() (response *merchantConfigDebugResponse) {
response = &merchantConfigDebugResponse{
2024-09-30 16:25:40 +08:00
BaseResponse: &responses.BaseResponse{},
}
return
}