fixed
This commit is contained in:
@@ -153,6 +153,11 @@ class TychatLogic extends BaseLogic
|
|||||||
->where('username',$username)
|
->where('username',$username)
|
||||||
->where('clientid','neq',$client_id)
|
->where('clientid','neq',$client_id)
|
||||||
->select();
|
->select();
|
||||||
|
if(empty($arr)){
|
||||||
|
$json = Tools::wss_json_fail($action, '没有找到广播对象,请绑定设备');
|
||||||
|
return Gateway::sendToClient($client_id, $json);
|
||||||
|
}
|
||||||
|
|
||||||
$clientid_arr = array_column($arr,'clientid');
|
$clientid_arr = array_column($arr,'clientid');
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user