TP5微信类库中遇到了继承类中还有继承不知道控制器怎么写引入

浏览:791 发布日期:2017/08/25 分类:ThinkPHP5专区 关键字: thinkphp|微信类|微信|继承|类的继承|类中继承|类中继承了类|无法引用
首先我使用的是https://github.com/dodgepudding/wechat-php-sdk微信类库 这个页面说 与thinkphp适配 我现在适配除了问题

我现在的情况是import 加载 TPwechat.class.php
文件是放在extend/wechatsdk/Thinkphp/TPwechat.class.php
但是TPwechat.class.php 里面 又继承了一个wechat.class.php
wechat.class.php放在了extend/wechatsdk/wechat.class.php
都写过命名空间namespace 现在控制器不晓得怎么写


代码出错总是Class 'weixin\Thinkphp\Wechat' not found
求各位大神解答

附件 aa.png ( 9.57 KB 下载:0 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>