vali 6 年之前
父節點
當前提交
5af7fe3053
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -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;
     }