Skip to content

ddtalk/openapi-demo-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 67.9%
  • JavaScript 27.7%
  • CSS 4.4%