fixed
This commit is contained in:
@@ -42,6 +42,16 @@ class Wsspush extends BaseWssApi
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* desc:向所有客户端发消息
|
||||
* api/wsspush/pushToAll
|
||||
* author:wh
|
||||
* @throws \Exception
|
||||
*/
|
||||
function pushToAll(){
|
||||
$json = Tools::wss_json_ok('Reportty/createReport','ok',['flow_code'=>'create_report_end']);
|
||||
Gateway::sendToAll($json);
|
||||
}
|
||||
public function hello($name = 'ThinkPHP5')
|
||||
{
|
||||
return 'hello,' . $name;
|
||||
|
||||
Reference in New Issue
Block a user