PHP __get魔術方法在empty方法中不會被調用

/** * 在開發小程序接口的時候,小程序發送的數據是 application/json * $_POST是沒法接收到的,就得使用 file_get_content("php://input") * 同事是直接收到數據後開始使用 */ $input = file_get_contents("php://input"); $this->rubble = json_decode($input,
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息