@ -14,4 +14,12 @@ class Index extends BaseController
{
return 'hello,' . $name;
}
// 测试连接
public function msg(){
$handle = fopen('php://input', 'r');
$input = stream_get_contents($handle);
fclose($handle);
echo $input;