框架改动:
PhalApi\Response\json.php
protected function formatResult($result) {
return json_encode($result,JSON_UNESCAPED_UNICODE);
}
PhalApi\Response.php
public function getResult()
{
$rs = array(
'code' => $this->ret,
'data' => $this->data,
'message' => $this->msg,
);
return $rs;
}