|
@@ -300,10 +300,7 @@ class Client extends Base
|
|
|
private function update($data, $id)
|
|
|
{
|
|
|
if ($this->get && isset($data[$this->get])) {
|
|
|
- $key = $this->get;
|
|
|
- $get = $data[$key];
|
|
|
- $this->get = array();
|
|
|
- $this->get[$key] = $data[$key];
|
|
|
+ $this->refer_param[$this->get] = $data[$this->get];
|
|
|
}
|
|
|
$this->param('user', 'access_token', $data['access_token']);
|
|
|
$this->param('user', 'openid', $data['openid']);
|