dever 4 năm trước cách đây
mục cha
commit
226d9a3c59
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      lib/Client.php

+ 1 - 4
lib/Client.php

@@ -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']);