This commit is contained in:
qinzongqing 2023-04-19 16:25:45 +08:00
parent b389f52527
commit 27eb5c0545

View File

@ -154,8 +154,8 @@ class ControllerBase extends Phalcon\Mvc\Controller{
function __check_request_arr(){
/**/
if($_SERVER['HTTP_HOST']!="127.0.0.1"){
$this->_LogObj->LogWrite(TIFFANY_API_CHECK_LOG, $this->request->getPost());
$this->_LogObj->LogWrite(TIFFANY_API_CHECK_LOG, file_get_contents("php://input"));
$this->_LogObj->LogWrite(TIFFANY_API_CHECK_LOG, json_encode($this->request->getPost()));
$this->_LogObj->LogWrite(TIFFANY_API_CHECK_LOG, json_encode(file_get_contents("php://input")));
}
/**/
//接收请求数据