微信公众号API接口次数清零方法

每个公众号有10次/月清零机会,如果你的公众号接口调用次数达到了次数上限,可以用下面的方法进行次数清零。
目录
一、调用获取access_token接口
获取Access tokenAPI接口(GET):
https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=appid&secret=secret
需要传入公众号的appid和secret作为接口调用参数。

二、调用微信公众号API次数清零接口
微信公众号次数清零API接口(POST):需要传入第一步接口返回的access_token作为参数,同时在body中需要传入appid。
https://api.weixin.qq.com/cgi-bin/clear_quota?access_token=access_token
//body json参数
{
"appid": "appid"
}



浙公网安备 33010602011771号