소스 검색

no message

DESKTOP-9JTA2JJ\HP 5 년 전
부모
커밋
d9562e8501
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      api/application/helpers/function_helper.php

+ 1 - 0
api/application/helpers/function_helper.php

@@ -647,6 +647,7 @@ function send_websocket($clientid,$data = array(),$resType='cmd')
 {
     if (!empty($clientid)) {
         $CI =& get_instance();
+        $data['status'] = 2;
         $CI->db->insert('message',['client'=>$clientid,'msg'=>json_encode($data)]);
     }