/** * @return array * @throws \Exception */ public function parse() { $request = parent::parse(); parse_str($request, $post); $sign = $post['sign']; unset($post['sign']); if ($sign !== md5(json_encode($post) . $this->_crypt_key)) { throw new \Exception(); } return $post; }
/** * @return mixed */ public function parse() { $parse = parent::parse(); $this->outputFile($parse); return $parse; }