Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 413 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 413 Bytes

open api demo (php ver.)

Awesome project

Getting started

  1. set up your own corp id and corp secret in env.php
  2. launch your server in your prayers

Jsapi authorization

see jsapi.php and public/javascripts/demo.js

Get user infomation via auth code

see demo.js

FAQ

  • Q: {"message" : "权限校验失败", "errorCode" : 3}
  • A: Make sure getCurrentUrl() in Auth.php returns the correct url