Open getda opened 1 year ago
public function send(Request $request) { \GatewayWorker\Lib\Gateway::sendToAll(json_encode($request->input('msg'))); }
其它进程调用Gateway接口需要手动写代码设置 Gateway::$registerAddress = '127.0.0.1:10012';