From 94d515587dedc53e7392019d93c447b86d4f31e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 28 Sep 2021 10:52:01 +0800 Subject: [PATCH] #64 --- WeMini/Security.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeMini/Security.php b/WeMini/Security.php index 22c35ec..c2adb70 100644 --- a/WeMini/Security.php +++ b/WeMini/Security.php @@ -36,7 +36,7 @@ class Security extends BasicWeChat { $url = 'https://api.weixin.qq.com/wxa/img_sec_check?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->callPostApi($url, ['media' => $media], true); + return $this->callPostApi($url, ['media' => $media], false); } /** @@ -65,6 +65,6 @@ class Security extends BasicWeChat { $url = 'https://api.weixin.qq.com/wxa/msg_sec_check?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->callPostApi($url, ['content' => $content], false); + return $this->callPostApi($url, ['content' => $content], true); } } \ No newline at end of file