classclass_weixin_adv { var$appid=""; var$appsecret=""; //构造函数,获取AccessToken publicfunction__construct($appid=NULL,$appsecret=NULL) { if($appid){ $this->appid=$appid; } if($appsecret){ $this->appsecret=$appsecret; }