$box=dechex(1); $arr='[a|'.$mac_id.'|'.time().'](bFA 00 06 00 24'.$box.')'; 在workerman輸入結(jié)果 ......................................... tp框架中 輸入結(jié)果 ...
1.主服務(wù)器的$gateway->registerAddress和$worker->registerAddress ?的ip是不是當(dāng)前內(nèi)網(wǎng)ip? ? 2.子服務(wù)器的$gateway->registerAddress和$worker->registerAddress ?的ip是不是主服務(wù)器的外網(wǎng)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...