Browse Source

no message

DESKTOP-9JTA2JJ\HP 5 years atrás
parent
commit
d9562e8501
1 changed files with 1 additions and 0 deletions
  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)]);
     }