2.0版本source\function\function_connect.php 中的代码是:- function connect_output_php($url, $postData = '') {
- global $_G;
- $response = dfsockopen($url, 0, $postData, '', false, $_G['setting']['cloud_api_ip']);
- $result = (array) unserialize($response);
- return $result;
- }
复制代码 而2.5版本api\manyou\Service\Connect.php中的代码是:- public function connectOutputPhp($url, $postData = '') {
- global $_G;
- $response = dfsockopen($url, 0, $postData, '', false, $_G['setting']['cloud_api_ip']);
- $result = (array) dunserialize($response);
- return $result;
- }
复制代码 一个是unserialize($response)一个是dunserialize($response)是不是有问题呢?
|