收藏
回答

通过setprivacysetting接口设置用户隐私保护后再提审无效

审核类型 框架类型 问题类型 提审时间 AppID
代码审核 小程序 Bug 2021-11-20 wxbf011b00fc7efd64

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/set_privacy_setting.html

参数如下:

{"owner_setting":{"contact_phone":"15801959934","notice_method":"通过弹窗","store_expire_timestamp":"30天"},"setting_list":[{"privacy_key":"UserInfo","privacy_value":"获取用户信息(微信昵称、头像)"},{"privacy_key":"Location","privacy_value":"获取位置信息"},{"privacy_key":"Address","privacy_value":"获取地址"},{"privacy_key":"Invoice","privacy_value":"获取发票信息"},{"privacy_key":"RunData","privacy_value":"获取微信运动数据"},{"privacy_key":"Record","privacy_value":"打开麦克风"},{"privacy_key":"Album","privacy_value":"获取选中的照片或视频信息"},{"privacy_key":"Camera","privacy_value":"打开摄像头"},{"privacy_key":"PhoneNumber","privacy_value":"获取手机号码"},{"privacy_key":"Contact","privacy_value":"获取通讯录(仅写入)权限"},{"privacy_key":"DeviceInfo","privacy_value":"获取设备信息"},{"privacy_key":"EXIDNumber","privacy_value":"获取身份证号码"},{"privacy_key":"EXOrderInfo","privacy_value":"获取订单信息"},{"privacy_key":"EXUserPublishContent","privacy_value":"获取发布内容"},{"privacy_key":"EXUserFollowAcct","privacy_value":"获取所关注账号"},{"privacy_key":"EXUserOpLog","privacy_value":"获取操作日志"},{"privacy_key":"AlbumWriteOnly","privacy_value":"获取相册(仅写入)权限"},{"privacy_key":"LicensePlate","privacy_value":"获取车牌号"},{"privacy_key":"BlueTooth","privacy_value":"打开蓝牙"},{"privacy_key":"CalendarWriteOnly","privacy_value":"获取日历(仅写入)权限"},{"privacy_key":"Email","privacy_value":"获取邮箱"},{"privacy_key":"MessageFile","privacy_value":"获取选中的文件"}]}

返回

{"errcode":"0","errormsg":"ok"}

privacy_ver设置为1或2都试过

最后一次编辑于  2021-11-22
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容