提交 967d4e35 编写于 作者: G gongfuxiang

debug

上级 7783b1ab
......@@ -212,14 +212,14 @@ class WeixinMini
*/
public function Respond($params = [])
{
file_put_contents('./pppppp.txt', json_encode($_POST));
file_put_contents('./gggggg.txt', json_encode($_GET));
file_put_contents('./iiiiii.txt', json_encode(input()));
file_put_contents('./hhhhhh.txt', json_encode($GLOBALS['HTTP_RAW_POST_DATA']));
$result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? '' : $this->Xml_Array($GLOBALS['HTTP_RAW_POST_DATA']);
$result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? '' : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']);
if(isset($result['sign']) && $result['sign'] == $this->GetParamSing($result)) return $result;
return '';
file_put_contents(ROOT.'gggggg.txt', json_encode($result));
if(isset($result['sign']) && $result['sign'] == $this->GetSign($result))
{
return DataReturn('success', 0, $result);
}
return DataReturn('test', -100);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册