方法错误修复

feat/task1-c-wallet
gongfuxiang 2021-11-16 18:02:02 +08:00
parent bebe8429f0
commit d433643433
1 changed files with 1 additions and 1 deletions

View File

@ -2150,7 +2150,7 @@ function CurlPost($url, $post, $is_json = false, $timeout = 30)
*/
function FsockopenPost($url, $data = '')
{
$row = parse_MyUrl($url);
$row = parse_url($url);
$host = $row['host'];
$port = isset($row['port']) ? $row['port'] : 80;
$file = $row['path'];