ThinkPHP5 如何接受 header 头数据
<?php
namespace app\controller;
use think\Controller;
use think\facade\Request;
class Index extends Controller
{
    public function index()
    {
        $header = Request::header();
    }
}
<?php
namespace app\controller;
use think\Controller;
use think\facade\Request;
class Index extends Controller
{
    public function index()
    {
        $header = Request::header();
    }
}