Comments (17)
新版本已增加🙏
from weapp.
check_path=false的时候,我这边刚刚测试还是提示41030,develop模式
41030 | page 不合法(页面不存在或者小程序没有发布、根路径前加 /或者携带参数)
CheckPath booljson:"check_path,omitempty"
这个omitempty不能有,不然传false的时候会默认不传递给微信,恰巧微信那边这个参数默认值是true,所以这个参数传false 时相当于没生效
v3.6.10
已经修复
from weapp.
新版本已增加🙏
https://pkg.go.dev/github.com/medivhzhan/weapp/v3#UnlimitedQRCode
好像还是没有这个参数呀
from weapp.
新版本已增加🙏
e10f985
这个commit好像还是有问题,env_version应该是string,代码里面应该是bool了
另一个问题是go get 3.6.7的,好像还是没法看到这俩参数
from weapp.
func (cli *Client) GetUnlimitedQRCode(code *UnlimitedQRCode) (*http.Response, *request.CommonError, error) {}应该是这个方法里面的入参
from weapp.
新版本已增加🙏
https://pkg.go.dev/github.com/medivhzhan/weapp/v3#UnlimitedQRCode 好像还是没有这个参数呀
再看下最新版本呢
from weapp.
func (cli *Client) GetUnlimitedQRCode(code *UnlimitedQRCode) (*http.Response, *request.CommonError, error) {}应该是这个方法里面的入参
weapp.NewWXACode().GetUnlimited()
用这个试试呢
from weapp.
新版本已增加🙏
https://pkg.go.dev/github.com/medivhzhan/weapp/v3#UnlimitedQRCode 好像还是没有这个参数呀
再看下最新版本呢
https://pkg.go.dev/github.com/medivhzhan/weapp/[email protected]/wxacode#UnlimitedQRCode
参数有了,不过注释和类型好像不太对,这俩参数,一个bool,一个string
from weapp.
是我用错方法了还是确实有问题?我刚刚测试的时候,提示47001,data format error
resp, ce, err := wxClient.NewWXACode().GetUnlimited(&wxacode.UnlimitedQRCode{
Scene: fmt.Sprintf("?id=%d&stationId=%d&opType=%d", 1, 1, 1),
Page: "pages/shop/index/index",
Width: 430,
EnvVersion: "develop",
CheckPath: "false",
AutoColor: true,
IsHyaline: false,
})
from weapp.
v3.6.9
已经OK了😅
from weapp.
check_path=false的时候,我这边刚刚测试还是提示41030,develop模式
from weapp.
check_path=false的时候,我这边刚刚测试还是提示41030,develop模式
这个应该就是调用层面的问题了
from weapp.
check_path=false的时候,我这边刚刚测试还是提示41030,develop模式
41030 | page 不合法(页面不存在或者小程序没有发布、根路径前加 /或者携带参数)
from weapp.
check_path=false的时候,我这边刚刚测试还是提示41030,develop模式
41030 | page 不合法(页面不存在或者小程序没有发布、根路径前加 /或者携带参数)
CheckPath booljson:"check_path,omitempty"
这个omitempty不能有,不然传false的时候会默认不传递给微信,恰巧微信那边这个参数默认值是true,所以这个参数传false 时相当于没生效
from weapp.
V3版本确实未加入CheckPath 和 EnvVersion,希望能合并到V3版本里
from weapp.
V3版本确实未加入CheckPath 和 EnvVersion,希望能合并到V3版本里
resp, ce, err := wxClient.NewWXACode().GetUnlimited(&wxacode.UnlimitedQRCode{
Scene: fmt.Sprintf("?id=%d&stationId=%d&opType=%d", 1, 1, 1),
Page: "pages/shop/index/index",
Width: 430,
EnvVersion: "develop",
CheckPath: "false",
AutoColor: true,
IsHyaline: false,
})
用这个也不行吗?
from weapp.
@royalrick v3版本还没有这个。
from weapp.
Related Issues (20)
- 【咨询】为什么使用微信通知监听服务要传入mchID和apiKey呢? HOT 1
- 会考虑接入小程序的同城配送么? HOT 1
- 小程序与公众号下发统一消息接口调整通知 HOT 1
- 获取token的地址能否更新一下 HOT 7
- 包名不统一 HOT 1
- 【提问】请问支持API安全(api签名加密)嘛? HOT 2
- 希望可以更新内容审核2.0 HOT 4
- "crypto/aes: invalid key size 43 HOT 1
- weapp v3版本文本检测好像用的还是腾讯的v1的接口? HOT 7
- baseURL 建议支持用户自定义 因为现在后端还可能用于其他平台的小程序 HOT 1
- 使用fasthttp代替http
- 并发 Send 上万条就报错了 HOT 1
- 自定义 token 获取方法,入参应该加上appid,和appsecret
- 有主动刷新access_token缓存的方法吗
- there is bug when deal with customer message
- 测试登录[login]接口时 `code`如何获取?
- v1需要添加profit_sharing这个字段, HOT 9
- 获取电子面单余额 的接口中,获取到的数据始终是0 HOT 3
- 媒体安全检查接口还是用的v1,但现在微信支持的是v2
- 调用client.Login,发现默认的logger每次打印日志都会把之前所有的login记录打出来,是故意的还是不小心? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weapp.