|
|
@@ -437,7 +437,7 @@ class Events
|
|
|
//得到一个用户详细信息
|
|
|
public static function kfgetuserinfo($clientid, $id)
|
|
|
{
|
|
|
- $ret = self::$db->select('*')->from('ws_account')->where('id=:id')->bindValues($id)->row();
|
|
|
+ $ret = self::$db->select('*')->from('ws_account')->where('id=:id')->bindValues(['id'=>$id])->row();
|
|
|
Gateway::sendToClient($clientid, json_encode(['message_type' => 'userdetailinfo', 'data' => $ret]));
|
|
|
return;
|
|
|
}
|