From 503f8a29e1f28a8fbf92d9cb255bdb1242296668 Mon Sep 17 00:00:00 2001 From: Debug <515343908@qq.com> Date: Tue, 17 Mar 2020 10:39:36 +0800 Subject: [PATCH] =?UTF-8?q?&&=20=20=E6=94=B9=E4=B8=BA=20||?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/taobao/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taobao/Application.php b/src/taobao/Application.php index 7e43763..7f55f26 100755 --- a/src/taobao/Application.php +++ b/src/taobao/Application.php @@ -73,7 +73,7 @@ public function curl($url, $postFields = null) $postMultipart = false; foreach ($postFields as $k => $v) { - if(!is_string($v) && !is_numeric($v)) + if(!is_string($v) || !is_numeric($v)) continue ; if("@" != substr($v, 0, 1))//判断是不是文件上传 {