From de3c82cbff8fc8c24b416de2ef0b1555f5912e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E7=82=9C=20=E5=8D=A2?= <307958040@qq.com> Date: Tue, 4 Jun 2024 10:09:26 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=96=B0=E5=A2=9Epay=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B7=A5=E5=8D=95=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=E3=80=81=E5=9B=9E=E5=A4=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=81=E5=AE=8C=E6=88=90=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/client.go | 56 ++++++++++++++++++++++++++++++ services/pay/client_test.go | 27 ++++++++++++++ services/pay/complaint_complete.go | 34 ++++++++++++++++++ services/pay/complaint_reply.go | 36 +++++++++++++++++++ services/pay/complaint_upload.go | 35 +++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 services/pay/client.go create mode 100644 services/pay/client_test.go create mode 100644 services/pay/complaint_complete.go create mode 100644 services/pay/complaint_reply.go create mode 100644 services/pay/complaint_upload.go diff --git a/services/pay/client.go b/services/pay/client.go new file mode 100644 index 0000000..04f2e39 --- /dev/null +++ b/services/pay/client.go @@ -0,0 +1,56 @@ +package pay + +import ( + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" +) + +const ( + VERSION = "2024-06-03" +) + +var HOST requests.Host = requests.Host{ + Default: "pay.gaore.com", + Func: func(s string) string { + var a = map[string]string{ + requests.RELEASE: "pay.gaore.com", + requests.PRE: "pay.gaore.com", + requests.TEST: "pay.gaore.com", + } + return a[s] + }, +} + +type Client struct { + sdk.Client +} + +func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) { + client = &Client{} + err = client.InitWithAccessKey(accesskey, secrect, source) + return +} + +func NewClientWithAliAppcode(accesskey, secrect string, env ...string) (client *Client, err error) { + client = &Client{} + err = client.InitWithAliAppcode(accesskey, secrect, env...) + return +} + +func (c *Client) ComplaintReply(req *ComplaintReplyRequest) (response *ComplaintReplyResponse, err error) { + response = CreateComplaintReplyResponse() + err = c.DoAction(req, response) + return +} + +func (c *Client) ComplaintComplete(req *ComplaintCompleteRequest) (response *ComplaintCompleteResponse, err error) { + response = CreateComplaintCompleteResponse() + err = c.DoAction(req, response) + return +} + +func (c *Client) ComplaintUpload(req *ComplaintUploadRequest) (response *ComplaintUploadResponse, err error) { + response = CreateComplaintUploadResponse() + err = c.DoAction(req, response) + return +} diff --git a/services/pay/client_test.go b/services/pay/client_test.go new file mode 100644 index 0000000..c92c103 --- /dev/null +++ b/services/pay/client_test.go @@ -0,0 +1,27 @@ +package pay + +import ( + "fmt" + "log" + "testing" +) + +func TestClient_GetUserInfo(t *testing.T) { + + c, err := NewClientWithAliAppcode("", "") + if err != nil { + t.Error(err) + } + + req := CreateComplaintUploadRequest() + + req.MchId = "3503" + req.ImageUrl = "https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" + + resp, err := c.ComplaintUpload(req) + if err != nil { + log.Fatalln(err) + } + fmt.Println(resp.GetHttpContentString()) + fmt.Println(resp.GetHttpHeaders()) +} diff --git a/services/pay/complaint_complete.go b/services/pay/complaint_complete.go new file mode 100644 index 0000000..4cb43cd --- /dev/null +++ b/services/pay/complaint_complete.go @@ -0,0 +1,34 @@ +package pay + +import ( + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" +) + +type ComplaintCompleteRequest struct { + *requests.RpcRequest + MchId string `position:"Body" field:"mch_id" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:"" ` +} + +type ComplaintCompleteResponse struct { + *responses.BaseResponse + Code int `json:"code"` + Msg string `json:"msg"` +} + +func CreateComplaintCompleteRequest() (req *ComplaintCompleteRequest) { + req = &ComplaintCompleteRequest{ + RpcRequest: &requests.RpcRequest{}, + } + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintComplete") + req.Method = requests.POST + return +} + +func CreateComplaintCompleteResponse() (response *ComplaintCompleteResponse) { + response = &ComplaintCompleteResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/pay/complaint_reply.go b/services/pay/complaint_reply.go new file mode 100644 index 0000000..566dbef --- /dev/null +++ b/services/pay/complaint_reply.go @@ -0,0 +1,36 @@ +package pay + +import ( + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" + "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" +) + +type ComplaintReplyRequest struct { + *requests.RpcRequest + MchId string `position:"Body" field:"mch_id" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:"" ` + Content string `position:"Body" field:"content" default:"" ` + Images string `position:"Body" field:"images" default:"" ` +} + +type ComplaintReplyResponse struct { + *responses.BaseResponse + Code int `json:"code"` + Msg string `json:"msg"` +} + +func CreateComplaintReplyRequest() (req *ComplaintReplyRequest) { + req = &ComplaintReplyRequest{ + RpcRequest: &requests.RpcRequest{}, + } + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintReply") + req.Method = requests.POST + return +} + +func CreateComplaintReplyResponse() (response *ComplaintReplyResponse) { + response = &ComplaintReplyResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go new file mode 100644 index 0000000..8b0f67f --- /dev/null +++ b/services/pay/complaint_upload.go @@ -0,0 +1,35 @@ +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{}, + } + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintUpload") + req.Method = requests.POST + return +} + +func CreateComplaintUploadResponse() (response *ComplaintUploadResponse) { + response = &ComplaintUploadResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} From e710c3050a43ba2c46347e5653cdf95b12228ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E7=82=9C=20=E5=8D=A2?= <307958040@qq.com> Date: Tue, 4 Jun 2024 11:24:58 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E5=AE=8C=E5=96=84pay=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B7=A5=E5=8D=95=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=E3=80=81=E5=9B=9E=E5=A4=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=81=E5=AE=8C=E6=88=90=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/client.go | 14 ++++++++++---- services/pay/client_test.go | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/services/pay/client.go b/services/pay/client.go index 04f2e39..42edac3 100644 --- a/services/pay/client.go +++ b/services/pay/client.go @@ -10,12 +10,12 @@ const ( ) var HOST requests.Host = requests.Host{ - Default: "pay.gaore.com", + Default: "pay.uu89.com", Func: func(s string) string { var a = map[string]string{ - requests.RELEASE: "pay.gaore.com", - requests.PRE: "pay.gaore.com", - requests.TEST: "pay.gaore.com", + requests.RELEASE: "pay.uu89.com", + requests.PRE: "pay.uu89.com", + requests.TEST: "pay.uu89.com", } return a[s] }, @@ -25,6 +25,12 @@ type Client struct { sdk.Client } +func NewClient() (client *Client, err error) { + client = new(Client) + err = client.Init() + return +} + func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) { client = &Client{} err = client.InitWithAccessKey(accesskey, secrect, source) diff --git a/services/pay/client_test.go b/services/pay/client_test.go index c92c103..90cea14 100644 --- a/services/pay/client_test.go +++ b/services/pay/client_test.go @@ -8,7 +8,7 @@ import ( func TestClient_GetUserInfo(t *testing.T) { - c, err := NewClientWithAliAppcode("", "") + c, err := NewClient() if err != nil { t.Error(err) } From 34b757ca09d09becb272c23c328f0fcecfbc5ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E7=82=9C=20=E5=8D=A2?= <307958040@qq.com> Date: Tue, 4 Jun 2024 11:30:49 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E5=AE=8C=E5=96=84pay=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B7=A5=E5=8D=95=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=E3=80=81=E5=9B=9E=E5=A4=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E3=80=81=E5=AE=8C=E6=88=90=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/client.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/services/pay/client.go b/services/pay/client.go index 42edac3..d3d01a9 100644 --- a/services/pay/client.go +++ b/services/pay/client.go @@ -31,18 +31,6 @@ func NewClient() (client *Client, err error) { return } -func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) { - client = &Client{} - err = client.InitWithAccessKey(accesskey, secrect, source) - return -} - -func NewClientWithAliAppcode(accesskey, secrect string, env ...string) (client *Client, err error) { - client = &Client{} - err = client.InitWithAliAppcode(accesskey, secrect, env...) - return -} - func (c *Client) ComplaintReply(req *ComplaintReplyRequest) (response *ComplaintReplyResponse, err error) { response = CreateComplaintReplyResponse() err = c.DoAction(req, response) From 6fb06e3d4ffbc792b3fb24bfb2b4dd09eaf28191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E7=82=9C=20=E5=8D=A2?= <307958040@qq.com> Date: Mon, 17 Jun 2024 16:06:27 +0800 Subject: [PATCH 04/10] =?UTF-8?q?pay=E9=A1=B9=E7=9B=AE=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=BC=82=E6=AD=A5=E6=8E=A8=E9=80=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E8=AE=BE=E7=BD=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/client.go | 14 +++++++---- services/pay/client_test.go | 7 +++--- services/pay/complaint_notify_url.go | 35 ++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 services/pay/complaint_notify_url.go diff --git a/services/pay/client.go b/services/pay/client.go index d3d01a9..97c58ea 100644 --- a/services/pay/client.go +++ b/services/pay/client.go @@ -10,12 +10,12 @@ const ( ) var HOST requests.Host = requests.Host{ - Default: "pay.uu89.com", + Default: "pay.gaore.com", Func: func(s string) string { var a = map[string]string{ - requests.RELEASE: "pay.uu89.com", - requests.PRE: "pay.uu89.com", - requests.TEST: "pay.uu89.com", + requests.RELEASE: "pay.gaore.com", + requests.PRE: "pay.gaore.com", + requests.TEST: "pay.gaore.com", } return a[s] }, @@ -48,3 +48,9 @@ func (c *Client) ComplaintUpload(req *ComplaintUploadRequest) (response *Complai err = c.DoAction(req, response) return } + +func (c *Client) ComplaintNotifyUrl(req *ComplaintNotifyUrlRequest) (response *ComplaintNotifyUrlResponse, err error) { + response = CreateComplaintNotifyUrlResponse() + err = c.DoAction(req, response) + return +} diff --git a/services/pay/client_test.go b/services/pay/client_test.go index 90cea14..bb73885 100644 --- a/services/pay/client_test.go +++ b/services/pay/client_test.go @@ -13,12 +13,13 @@ func TestClient_GetUserInfo(t *testing.T) { t.Error(err) } - req := CreateComplaintUploadRequest() + req := CreateComplaintNotifyUrlRequest() req.MchId = "3503" - req.ImageUrl = "https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64" + req.NotifyUrl = "https://pay.uu89.com/api/complaint/wxNotify/3503" + req.Type = 1 - resp, err := c.ComplaintUpload(req) + resp, err := c.ComplaintNotifyUrl(req) if err != nil { log.Fatalln(err) } diff --git a/services/pay/complaint_notify_url.go b/services/pay/complaint_notify_url.go new file mode 100644 index 0000000..571fdb9 --- /dev/null +++ b/services/pay/complaint_notify_url.go @@ -0,0 +1,35 @@ +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 +} From 09938bbf207a7c1442d56bde15cec769532bbda9 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Mon, 8 Jul 2024 17:46:41 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_complete.go | 2 +- services/pay/complaint_reply.go | 2 +- services/pay/complaint_upload.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/pay/complaint_complete.go b/services/pay/complaint_complete.go index 4cb43cd..9867c31 100644 --- a/services/pay/complaint_complete.go +++ b/services/pay/complaint_complete.go @@ -21,7 +21,7 @@ func CreateComplaintCompleteRequest() (req *ComplaintCompleteRequest) { req = &ComplaintCompleteRequest{ RpcRequest: &requests.RpcRequest{}, } - req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintComplete") + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/complete") req.Method = requests.POST return } diff --git a/services/pay/complaint_reply.go b/services/pay/complaint_reply.go index 566dbef..2203093 100644 --- a/services/pay/complaint_reply.go +++ b/services/pay/complaint_reply.go @@ -23,7 +23,7 @@ func CreateComplaintReplyRequest() (req *ComplaintReplyRequest) { req = &ComplaintReplyRequest{ RpcRequest: &requests.RpcRequest{}, } - req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintReply") + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/reply") req.Method = requests.POST return } diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index 8b0f67f..9e58b34 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -22,7 +22,7 @@ func CreateComplaintUploadRequest() (req *ComplaintUploadRequest) { req = &ComplaintUploadRequest{ RpcRequest: &requests.RpcRequest{}, } - req.InitWithApiInfo(HOST, VERSION, "/api/complaint/wxComplaintUpload") + req.InitWithApiInfo(HOST, VERSION, "/api/complaint/imageUpload") req.Method = requests.POST return } From b6961d28b653508954ec52bffdbe5a8345e7e713 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Wed, 10 Jul 2024 18:33:23 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_upload.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index 9e58b34..9a6e568 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -7,8 +7,9 @@ import ( type ComplaintUploadRequest struct { *requests.RpcRequest - MchId string `position:"Body" field:"mch_id" default:"" ` - ImageUrl string `position:"Body" field:"image_url" default:"" ` + MchId string `position:"Body" field:"mch_id" default:"" ` + ImageUrl string `position:"Body" field:"image_url" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:"" ` } type ComplaintUploadResponse struct { From 41af2049a9c54793e3a2c71d37c0ac00a889902e Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Wed, 10 Jul 2024 18:33:23 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_upload.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index 9e58b34..9a6e568 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -7,8 +7,9 @@ import ( type ComplaintUploadRequest struct { *requests.RpcRequest - MchId string `position:"Body" field:"mch_id" default:"" ` - ImageUrl string `position:"Body" field:"image_url" default:"" ` + MchId string `position:"Body" field:"mch_id" default:"" ` + ImageUrl string `position:"Body" field:"image_url" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:"" ` } type ComplaintUploadResponse struct { From 758892ac9324c0e978be441d29f633555a64e829 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Wed, 10 Jul 2024 18:43:53 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index 9a6e568..dda426e 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -9,7 +9,7 @@ type ComplaintUploadRequest struct { *requests.RpcRequest MchId string `position:"Body" field:"mch_id" default:"" ` ImageUrl string `position:"Body" field:"image_url" default:"" ` - ComplaintId string `position:"Body" field:"complaint_id" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:" " ` } type ComplaintUploadResponse struct { From 63a32ad047b952ee32842d0cc64c2cc7ed71ce60 Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Wed, 10 Jul 2024 19:38:01 +0800 Subject: [PATCH 09/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index dda426e..9a6e568 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -9,7 +9,7 @@ type ComplaintUploadRequest struct { *requests.RpcRequest MchId string `position:"Body" field:"mch_id" default:"" ` ImageUrl string `position:"Body" field:"image_url" default:"" ` - ComplaintId string `position:"Body" field:"complaint_id" default:" " ` + ComplaintId string `position:"Body" field:"complaint_id" default:"" ` } type ComplaintUploadResponse struct { From b09f25cf3b8b2d5dcf468b02484436189ff7e25e Mon Sep 17 00:00:00 2001 From: liufk <2851842339@qq.com> Date: Wed, 10 Jul 2024 19:39:24 +0800 Subject: [PATCH 10/10] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E8=AF=89?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pay/complaint_upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pay/complaint_upload.go b/services/pay/complaint_upload.go index 9a6e568..dda426e 100644 --- a/services/pay/complaint_upload.go +++ b/services/pay/complaint_upload.go @@ -9,7 +9,7 @@ type ComplaintUploadRequest struct { *requests.RpcRequest MchId string `position:"Body" field:"mch_id" default:"" ` ImageUrl string `position:"Body" field:"image_url" default:"" ` - ComplaintId string `position:"Body" field:"complaint_id" default:"" ` + ComplaintId string `position:"Body" field:"complaint_id" default:" " ` } type ComplaintUploadResponse struct {