From ffa8f898a815ba3cdd73ebfe50212e8bb887e2b7 Mon Sep 17 00:00:00 2001 From: listen <494177603@qq.com> Date: Tue, 5 Oct 2021 15:00:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95rpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 6 ++++-- go.sum | 2 ++ miniapp_qrcode.client.go | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a8fe77d..c7966ff 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,10 @@ module git.tetele.net/tgo/weixinrpc go 1.14 require ( - git.tetele.net/tgo/crypter v0.2.2 // indirect - github.com/chai2010/protorpc v1.0.0 // indirect + git.tetele.net/tgo/conf v0.39.3 + git.tetele.net/tgo/crypter v0.2.2 + github.com/chai2010/protorpc v1.0.0 + github.com/golang/protobuf v1.0.0 golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect ) diff --git a/go.sum b/go.sum index c6beb24..64a88aa 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +git.tetele.net/tgo/conf v0.39.3 h1:yjeJKmOHMJUeRl5Q3FVCLjIdIcor7UkohycyM87cGng= +git.tetele.net/tgo/conf v0.39.3/go.mod h1:AWVIBEDE5dtotthUgR0SWaR2Qa6/f+O5WQ3s7Tj8q7A= git.tetele.net/tgo/crypter v0.2.2 h1:YMQJh2Gj5Po4ZfelJUmXBKi01UbmtiSy3bmqRfnYQMo= git.tetele.net/tgo/crypter v0.2.2/go.mod h1:vfvRLZA8+lHNgNXneOcgvVhDyuv25ZRb+C6xHOmXNx0= github.com/chai2010/protorpc v1.0.0 h1:aJ45G9sl1utSKo35EqnBSTs5jqTpdJDJAuZMMYPAtFo= diff --git a/miniapp_qrcode.client.go b/miniapp_qrcode.client.go index 8035bbc..9371d83 100644 --- a/miniapp_qrcode.client.go +++ b/miniapp_qrcode.client.go @@ -46,7 +46,7 @@ func GetMiniAppQrcode(appId, appSecret, page,scene string, url ...string) (strin res := &Response{} - err = conn.GetMiniappCode(req, res) + err = conn.GetMiniappQrcode(req, res) if err != nil { return "", err