- set up your own corp id and corp secret in env.php
- launch your server in your prayers
see jsapi.php and public/javascripts/demo.js
see demo.js
- Q: {"message" : "权限校验失败", "errorCode" : 3}
- A: Make sure getCurrentUrl() in Auth.php returns the correct url