改名
This commit is contained in:
@@ -280,7 +280,7 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws ComponentException
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function recover()
|
public function recover()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -240,8 +240,9 @@ class Response extends HttpService
|
|||||||
private function headers($sendData): string
|
private function headers($sendData): string
|
||||||
{
|
{
|
||||||
if (!empty($this->headers) && is_array($this->headers)) {
|
if (!empty($this->headers) && is_array($this->headers)) {
|
||||||
|
var_dump($this->headers);
|
||||||
foreach ($this->headers as $key => $header) {
|
foreach ($this->headers as $key => $header) {
|
||||||
$this->response->header($key, $header);
|
$this->response->header($key, $header, true);
|
||||||
}
|
}
|
||||||
$this->headers = [];
|
$this->headers = [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user