This commit is contained in:
邹景立 2021-09-28 10:52:01 +08:00
parent cce155088f
commit 94d515587d

View File

@ -36,7 +36,7 @@ class Security extends BasicWeChat
{ {
$url = 'https://api.weixin.qq.com/wxa/img_sec_check?access_token=ACCESS_TOKEN'; $url = 'https://api.weixin.qq.com/wxa/img_sec_check?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $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'; $url = 'https://api.weixin.qq.com/wxa/msg_sec_check?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $this->registerApi($url, __FUNCTION__, func_get_args());
return $this->callPostApi($url, ['content' => $content], false); return $this->callPostApi($url, ['content' => $content], true);
} }
} }