public function WapLoginRequest($secretKey) { parent::__construct($secretKey); parent::setParameter($this->SIGN_ENCRYPT_KEYID, "0"); parent::setParameter($this->VSERSION, "1.0"); parent::setParameter($this->CHTYPE, "0"); parent::setParameter($this->INPUT_CHARSET, "GBK"); }
/** * 对于微博的SDK必须传入以下参数 * key=content(代表微博内容,根据http协议,中文作为http参数,必须作encoder操作) * key=picUrl(代表图片的全路径URL地址) * key=fromUrl(在发送微博或分享到qzone时,需要用到的来源地址定义) */ function setParameter($key, $value) { parent::setParameter($key, $value); }