,而且类定义了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
最佳答案