|
@@ -139,10 +139,11 @@ class GameClient {
|
|
|
$response->mergeFromString($binaryData);
|
|
|
if($response->getSuccess()){
|
|
|
// var_dump($response->getList());
|
|
|
+ echo "count:" .$response->getList()->count();
|
|
|
echo json_encode($response->getList(), JSON_PRETTY_PRINT);
|
|
|
echo "\n";
|
|
|
}else{
|
|
|
- echo "获取好友列表失败";
|
|
|
+ echo "获取好友列表失败" .$response->getErrMsg()->getErrorMsg();
|
|
|
echo "\n";
|
|
|
}
|
|
|
|