|
|
@ -46,7 +46,10 @@ function remoteCall(string $host, $port, string $data) { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$ret = remoteCall("127.0.0.1", "5188", '{"controller":"site","methor":"test","params":{"id":1,"status":0}}'); |
|
|
|
$ret = remoteCall("127.0.0.1", "5188", '{"controller":"site","methor":"test","params":{"id":1}}'); |
|
|
|
|
|
|
|
//'{"controller":"site","methor":"test","params":{"id":"111"}}
|
|
|
|
//'{"controller":"site","methor":"test","params":{"id":1,"status":0}}'
|
|
|
|
echo "{$ret}\n"; |
|
|
|
|
|
|
|
?>
|
|
|
|