1
This commit is contained in:
parent
47e5480e61
commit
f38dbc32f9
@ -57,13 +57,17 @@ class FriendController{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$avatar_url = $row['avatar_url'];
|
||||||
|
if (phpcommon\extractChannel($row['accountid']) != 6001) {
|
||||||
|
$avatar_url = "https://wx.qlogo.cn/mmopen/vi_32/q4oRsMFYBwPEVAeVI7tiasWSqaibr0GPQia432JhibGRYhqqEJofpWDYxJPq6q0hQ0j7icdACdHL78hrjYYHSjZQ3YA/132";
|
||||||
|
}
|
||||||
|
|
||||||
echo json_encode(array(
|
echo json_encode(array(
|
||||||
'errcode' => 0,
|
'errcode' => 0,
|
||||||
'errmsg' => '',
|
'errmsg' => '',
|
||||||
'accountid' => $row['accountid'],
|
'accountid' => $row['accountid'],
|
||||||
'user_name' => $row['user_name'],
|
'user_name' => $row['user_name'],
|
||||||
'avatar_url' => $row['avatar_url'],
|
'avatar_url' => $avatar_url,
|
||||||
'game_times' => $row['game_times'],
|
'game_times' => $row['game_times'],
|
||||||
'win_times' => $row['win_times'],
|
'win_times' => $row['win_times'],
|
||||||
'kill_his' => $row['kill_his'],
|
'kill_his' => $row['kill_his'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user