摘要:
php中 http_build_query会将array中boolean中true值转化成1,false转化成0.http://www.php.net/manual/zh/function.http-build-query.php解决办法是将该数组中的boolean值true或者false转化成字符串,举例如下: $params = array(); $params['with_offical_account'] = 1; $params['forcelogin'] = 'true'; $link = http_build_query($... 阅读全文