官方文档地址:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/records/getillegalrecords.html
通过平台接口获取返回的内容如下没有处罚记录:
post请求参数 {
"start_time": 当前时间戳,
"end_time": 为空(不为空也试过)
}
接口成功返回如下
{"errcode":0,"errmsg":"ok","records":[]}
平台appid:wx4a82a0fa85339dc7
授权平台的小程序名称:绿毒传奇无尽变态版
授权平台的小程序appid:wxf9cd95691e9190eb
小程序受处罚的截图如下:
跪求大佬,看一下是什么原因,万分感谢!!!急等回复!!!
start_time是起始时间,
填当前时间戳,都会返回空,因为当前时间之后的违规记录肯定没有。
start_time和end_time可以都不填,就返回最近90天的违规记录。