Browse Source

和站点同步

master
wanghongjun 2 years ago
parent
commit
aa8dcf66dc
  1. 8
      app/controller/Index.php

8
app/controller/Index.php

@ -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;
}
}

Loading…
Cancel
Save