https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/privacy-management/setPrivacySetting.htmlhttps://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/apply_api/apply_privacy_interface.html
调用 getprivacysetting 的结果是这样:
{
"latest_api_result": {
"errcode": 0,
"errmsg": "ok",
"code_exist": 1,
"privacy_list": [
"Location",
"Album",
"PhoneNumber",
"AlbumWriteOnly",
"ChooseLocation"
],
"setting_list": [
{
"privacy_key": "UserInfo",
"privacy_text": "个人中心展示",
"privacy_label": ""
},
{
"privacy_key": "Location",
"privacy_text": "自动填写订单地址",
"privacy_label": ""
},
{
"privacy_key": "Address",
"privacy_text": "订单发货",
"privacy_label": ""
},
{
"privacy_key": "PhoneNumber",
"privacy_text": "身份验证",
"privacy_label": ""
},
{
"privacy_key": "Album",
"privacy_text": "上传自定义头像",
"privacy_label": ""
},
{
"privacy_key": "AlbumWriteOnly",
"privacy_text": "保存分享二维码",
"privacy_label": ""
},
{
"privacy_key": "ChooseLocation",
"privacy_text": "",
"privacy_label": ""
}
],
"update_time": 1666255217,
"owner_setting": {
"contact_phone": "",
"contact_email": "support@xxxxx.com",
"contact_qq": "",
"contact_weixin": "",
"store_expire_timestamp": "",
"ext_file_media_id": "",
"notice_method": "通过弹窗形式告知"
},
"privacy_desc": {
"privacy_desc_list": [
{
"privacy_key": "UserInfo",
"privacy_desc": "用户信息(微信昵称、头像)"
},
{
"privacy_key": "Location",
"privacy_desc": "位置信息"
},
{
"privacy_key": "Address",
"privacy_desc": "地址"
},
{
"privacy_key": "Invoice",
"privacy_desc": "发票信息"
},
{
"privacy_key": "RunData",
"privacy_desc": "微信运动数据"
},
{
"privacy_key": "Record",
"privacy_desc": "麦克风"
},
{
"privacy_key": "Album",
"privacy_desc": "选中的照片或视频信息"
},
{
"privacy_key": "Camera",
"privacy_desc": "摄像头"
},
{
"privacy_key": "PhoneNumber",
"privacy_desc": "手机号"
},
{
"privacy_key": "Contact",
"privacy_desc": "通讯录(仅写入)权限"
},
{
"privacy_key": "DeviceInfo",
"privacy_desc": "设备信息"
},
{
"privacy_key": "EXIDNumber",
"privacy_desc": "身份证号码"
},
{
"privacy_key": "EXOrderInfo",
"privacy_desc": "订单信息"
},
{
"privacy_key": "EXUserPublishContent",
"privacy_desc": "发布内容"
},
{
"privacy_key": "EXUserFollowAcct",
"privacy_desc": "所关注账号"
},
{
"privacy_key": "EXUserOpLog",
"privacy_desc": "操作日志"
},
{
"privacy_key": "AlbumWriteOnly",
"privacy_desc": "相册(仅写入)权限"
},
{
"privacy_key": "LicensePlate",
"privacy_desc": "车牌号"
},
{
"privacy_key": "BlueTooth",
"privacy_desc": "蓝牙"
},
{
"privacy_key": "CalendarWriteOnly",
"privacy_desc": "日历(仅写入)权限"
},
{
"privacy_key": "Email",
"privacy_desc": "邮箱"
},
{
"privacy_key": "MessageFile",
"privacy_desc": "选中的文件"
},
{
"privacy_key": "ChooseLocation",
"privacy_desc": "选择的位置信息"
},
{
"privacy_key": "Accelerometer",
"privacy_desc": "加速传感器"
},
{
"privacy_key": "Compass",
"privacy_desc": "磁场传感器"
},
{
"privacy_key": "DeviceMotion",
"privacy_desc": "方向传感器"
},
{
"privacy_key": "Gyroscope",
"privacy_desc": "陀螺仪传感器"
},
{
"privacy_key": "Clipboard",
"privacy_desc": "剪切板"
}
]
},
"sdk_privacy_info_list": []
}
}
也通过 setprivacysetting 配置过代码中用到的 chooseLocation 隐私权限:
{'errcode': 0, 'errmsg': 'ok'}
的但是提交审核的时候还是失败:
{'errcode': 0, 'errmsg': 'ok', 'auditid': 442777xxx, 'status': 1, 'reason': '1:小程序功能不符合规则:<br>(1):你好,小程序内涉及收集"选择的位置信息"相关接口或组件,请通过接口完善【用户隐私保护指引】后再重新提审。<br>', 'user_version': 'shop3.3.4', 'user_desc': '', 'submit_audit_time': 1666319528}
所以现在是要怎么处理呢?感觉现在这个隐私收集搞的太复杂了