| 1 | <?php |
||
| 14 | class GetLnickRequest extends Request |
||
| 15 | { |
||
| 16 | protected $uri = 'http://s.web2.qq.com/api/get_single_long_nick2?tuin={uin}&vfwebqq={vfwebqq}&t=0.1'; |
||
| 17 | |||
| 18 | protected $referer = 'http://s.web2.qq.com/proxy.html?v=20130916001&callback=1&id=1'; |
||
| 19 | |||
| 20 | public function __construct(Friend $friend, Credential $credential) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * 解析响应数据 |
||
| 30 | * @param Response $response |
||
| 31 | * @param Friend $friend |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | public static function parseResponse(Response $response, Friend $friend) |
||
| 45 | } |
||
| 46 |