OT引入外部类失败

浏览:1185 发布日期:2013/10/30 分类:求助交流
外部类我放在项目\ThinkPHP\Library\ORG\Weixin(自定义的目录)\下
,而且类定义了namespace ORG\Weixin;

现在开始引用了use ORG\Weixin;
class WeixinController extends Controller {
...
...

protected function _initialize(){
    ...
    $weObj = new Wechat($options);  
    $weObj->valid();
    $type = $weObj->getRev()->getRevType();
    }
}
现在访问应用报错:
Class 'Weixin\Controller\Wechat' not found
最佳答案
评论() 相关
后面还有条评论,点击查看>>