_empty() _empty(string $method) : mixed REST 调用 Parameters string $method 方法名 Throws \Exception Returns mixed —
response() response(mixed $data, string $type = 'json', int $code = 200) : \think\Response 输出返回数据 Parameters mixed $data 要返回的数据 string $type 返回类型 JSON XML int $code HTTP状态码 Returns \think\Response —