*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor: pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family: "Century Gothic","Microsoft yahei"; color: #333;font-size:18px;} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }
:)
ThinkPHP V' . \think\facade\App::version() . '
16载初心不改 - 你值得信赖的PHP框架
[ V6.0 版本由 亿速云 独家赞助发布 ] ';
}
public function hello($name = 'ThinkPHP6')
{
return 'hello,' . $name;
}
// 测试连接
public function msg(){
$handle = fopen('php://input', 'r');
$param = Request::param() ?? [];
$input = stream_get_contents($handle);
fclose($handle);
Log::info(json_encode($param));
return json(['code' => 200, 'msg' => '成功']);
}
}