$box=dechex(1); $arr='[a|'.$mac_id.'|'.time().'](bFA 00 06 00 24'.$box.')'; 在workerman输入结果 ......................................... tp框架中 输入结果 ...
1.主服务器的$gateway->registerAddress和$worker->registerAddress 的ip是不是当前内网ip? 2.子服务器的$gateway->registerAddress和$worker->registerAddress 的ip是不是主服务器的外网ip? ...
require_once './GatewayClient/Gateway.php'; use GatewayClient\Gateway; Gateway::$registerAddress = '172.18.117.95:1238'; $client_id=$_GET; $arr=array( 'box'=>$_GET, 'oid'=>$_GET, ); $data=json_encode...