2024-06-04 10:09:26 +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 ComplaintUploadRequest struct {
|
|
|
|
*requests.RpcRequest
|
|
|
|
MchId string `position:"Body" field:"mch_id" default:"" `
|
|
|
|
ImageUrl string `position:"Body" field:"image_url" default:"" `
|
|
|
|
}
|
|
|
|
|
|
|
|
type ComplaintUploadResponse struct {
|
|
|
|
*responses.BaseResponse
|
|
|
|
Code int `json:"code"`
|
|
|
|
Msg string `json:"msg"`
|
|
|
|
Data map[string]string `json:"data"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func CreateComplaintUploadRequest() (req *ComplaintUploadRequest) {
|
|
|
|
req = &ComplaintUploadRequest{
|
|
|
|
RpcRequest: &requests.RpcRequest{},
|
|
|
|
}
|
2024-07-08 17:46:41 +08:00
|
|
|
req.InitWithApiInfo(HOST, VERSION, "/api/complaint/imageUpload")
|
2024-06-04 10:09:26 +08:00
|
|
|
req.Method = requests.POST
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
func CreateComplaintUploadResponse() (response *ComplaintUploadResponse) {
|
|
|
|
response = &ComplaintUploadResponse{
|
|
|
|
BaseResponse: &responses.BaseResponse{},
|
|
|
|
}
|
|
|
|
return
|
|
|
|
}
|