文件放在以下的目录中:
\Application\Home\Common\Baidupush\
Channel.class.php
lib\..
代码:
import("Home.Common.Baidupush.Channel");
$channel = new \Home\Common\Baidupush\Channel( $apiKey, $secretKey ) ;
出现错误:
Cannot redeclare class Channel。
Baidupush.rar
( 15.82 KB 下载:36 次 )
最佳答案