Home > php教程 > php手册 > body text

thinkphp3.2.3 integration series thinksdk usage tutorial

WBOY
Release: 2016-09-19 08:53:24
Original
1371 people have browsed it

I am working on a project recently and need to use a common quick login. Since such resources on the Internet are all version 3.13 and no one has compiled the 3.2 version, I took the time to sort it out and children in need can download it and test it.
Instructions for using Thinksdk in thinkphp3.2.3
1. Import the package into the vendor folder. (Added WeChat login)
2. Add configuration information such as: 'THINK_SDK_QQ' => array(<br> 'APP_KEY' => '', //The APP ID assigned after successful application registration<br> 'APP_SECRET' => '', //KEY assigned after successful application registration<br> ‘CALLBACK’ => '',//Callback URL<br> ), 3. Add a link to the template<a href="%7B:U('Index/login',array('type'=>'qq'))%7D">QQ login</a> &lt ;a href="{:U('Index/login',array('type'=>'weixin'))}" >WeChat login 4. After filling in, run according to this example code ,If used, please debug by yourself.

thinkphp3.2.3 integration series thinksdk usage tutorial thinkphp3.2.3 integration series thinksdk usage tutorial.rar ( 24.06 KB Download: 15 times )

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template