1 Star 0 Fork 7

beads123 / TpWechat

forked from Wilson Wang / TpWechat 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

TpWechat

本项目来源于wechat-php-sdk项目方便在Thinkphp框架下开发微信应用,做了点命名空间的小改进.直接扔到ThinkPHP\Library下就可以开始用了. class Wechat 无缓存设置公众号类
class TpWechat thinkphp缓存公众号类
class ErrCode 公众号返回码和信息类
Class QyWechat 无缓存设置企业号类
class TpqyWechat thinkphp缓存企业号类
class QyerrCode 企业号返回码和信息类

<?php
namespace Home\Controller;
use Think\Controller;
use Wechat\TpqyWechat;

class DemoController extends Controller {    
    public function index(){
        $options = array(
                'appid'=>'appidxxxxxxx', //填写高级调用功能的app id
                'appsecret'=>'appsecretxxxxxxxxxx', //填写高级调用功能的密钥
                'debug'=>TRUE, //调试开关
                'logcallback'=>'logg', //调试输出方法,需要有一个string类型的参数
        );
        $tpqy = new TpqyWechat($options);
        $rt = $tpqy->checkAuth();
        dump($tpqy->errCode);
        dump($tpqy->errMsg); 
}

空文件

简介

wechat-php-sdk方便在Thinkphp框架下用开发微信应用,做了点命名空间的小改进.直接扔到ThinkPHP\Library下就可以开始用了 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/cqmivi/TpWechat.git
git@gitee.com:cqmivi/TpWechat.git
cqmivi
TpWechat
TpWechat
master

搜索帮助