1 | <?php |
||
18 | class GetQQRequest extends Request |
||
19 | { |
||
20 | protected $uri = 'http://s.web2.qq.com/api/get_friend_uin2?tuin={uin}&type=1&vfwebqq={vfwebqq}&t=0.1'; |
||
21 | |||
22 | protected $referer = 'http://d1.web2.qq.com/proxy.html?v=20151105001&callback=1&id=2'; |
||
23 | |||
24 | public function __construct(Friend $friend, Credential $credential) |
||
31 | |||
32 | /** |
||
33 | * 解析响应数据. |
||
34 | * |
||
35 | * @param Response $response |
||
36 | * |
||
37 | * @return int |
||
38 | */ |
||
39 | public static function parseResponse(Response $response) |
||
47 | } |
||
48 |