input->post(); $input = json_decode(file_get_contents('php://input'), true); debug_log(json_encode($post), 'clues.txt'); debug_log(json_encode($input), 'clues.txt'); if($input){ } $return = array( 'code' => 1, 'content' => null, 'msg' => '', ); return $return; } public function test() { } }