Browse Source

测试rpc

master
listen 3 years ago
parent
commit
ffa8f898a8
3 changed files with 7 additions and 3 deletions
  1. +4
    -2
      go.mod
  2. +2
    -0
      go.sum
  3. +1
    -1
      miniapp_qrcode.client.go

+ 4
- 2
go.mod View File

@ -3,8 +3,10 @@ module git.tetele.net/tgo/weixinrpc
go 1.14 go 1.14
require ( 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/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
) )

+ 2
- 0
go.sum View File

@ -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 h1:YMQJh2Gj5Po4ZfelJUmXBKi01UbmtiSy3bmqRfnYQMo=
git.tetele.net/tgo/crypter v0.2.2/go.mod h1:vfvRLZA8+lHNgNXneOcgvVhDyuv25ZRb+C6xHOmXNx0= git.tetele.net/tgo/crypter v0.2.2/go.mod h1:vfvRLZA8+lHNgNXneOcgvVhDyuv25ZRb+C6xHOmXNx0=
github.com/chai2010/protorpc v1.0.0 h1:aJ45G9sl1utSKo35EqnBSTs5jqTpdJDJAuZMMYPAtFo= github.com/chai2010/protorpc v1.0.0 h1:aJ45G9sl1utSKo35EqnBSTs5jqTpdJDJAuZMMYPAtFo=


+ 1
- 1
miniapp_qrcode.client.go View File

@ -46,7 +46,7 @@ func GetMiniAppQrcode(appId, appSecret, page,scene string, url ...string) (strin
res := &Response{} res := &Response{}
err = conn.GetMiniappCode(req, res)
err = conn.GetMiniappQrcode(req, res)
if err != nil { if err != nil {
return "", err return "", err


Loading…
Cancel
Save