收藏
回答

apply_privacy_interface设置地址隐私问题

你好,

碰到一个设置地址隐私问题:用接口 https://api.weixin.qq.com/wxa/security/get_privacy_interface 获取得到:PrivacyInterface(api_name=wx.chooseAddress, api_ch_name=wx.chooseAddress, api_desc=获取用户收货地址, apply_time=null, status=2, audit_id=null, fail_reason=声明了不采集隐私协议, api_link=https://developers.weixin.qq.com/miniprogram/dev/api/open-api/address/wx.chooseAddress.html, group_name=地理位置);

重新申请权限,https://api.weixin.qq.com/wxa/security/apply_privacy_interface ,返回{"errcode":61035,"errmsg":"the api not need apply, hint: [95e54755-21e2-4761-ba9e-0a80781cdb4f] rid: 64819595-5aa10989-3799985f"}

请问设置隐私接口,如果返回status=2的状态下,如何能设置成功?因为没有查到类似问题,所以请赐教,谢谢

回答关注问题邀请回答
收藏

1 个回答

  • 第三方平台小助手
    第三方平台小助手
    2023-06-09

    你好,请将调用/wxa/security/get_privacy_interface接口的请求包(包括token)、回包、操作时间点信息完整提供下

    2023-06-09
    有用
    回复 9
    • s7ella
      s7ella
      2023-06-16
      请求url: https://api.weixin.qq.com/wxa/security/get_privacy_interface?access_token=69_S0i7vHKCKylvN92JbVecfNi4EyFME4EIR25w6nLfLGTiHpWKs7nN0725YmhhUGL-9gN1esEmlE3jlt-tOs09ASLCzHrUKKWebb7veQt8i_NELiJUKvrZEYZT6rHzAbJdB5-RAdfy4AnpM8ulFNRdAGDVDH , 操作时间 2023.6.16.16:35左右,返回完整信息:
      {"errcode":0,"errmsg":"ok","interface_list":[{"api_name":"wx.startLocationUpdateBackground","api_ch_name":"wx.startLocationUpdateBackground","api_desc":"开启小程序进入前后台时均接收位置消息","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.startLocationUpdateBackground.html","group_name":"地理位置"},{"api_name":"wx.chooseLocation","api_ch_name":"wx.chooseLocation","api_desc":"打开地图选择位置","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.chooseLocation.html","group_name":"地理位置"},{"api_name":"wx.chooseAddress","api_ch_name":"wx.chooseAddress","api_desc":"获取用户收货地址","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/open-api\/address\/wx.chooseAddress.html","group_name":"地理位置"},{"api_name":"wx.startLocationUpdate","api_ch_name":"wx.startLocationUpdate","api_desc":"开启小程序进入前台时接收位置消息","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.startLocationUpdate.html","group_name":"地理位置"},{"api_name":"wx.onLocationChange","api_ch_name":"wx.onLocationChange","api_desc":"监听实时地理位置变化事件","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.onLocationChange.html","group_name":"地理位置"},{"api_name":"wx.choosePoi","api_ch_name":"wx.choosePoi","api_desc":"打开 POI 列表选择位置","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.choosePoi.html","group_name":"地理位置"},{"api_name":"wx.getFuzzyLocation","api_ch_name":"wx.getFuzzyLocation","api_desc":"获取当前的模糊地理位置","status":1,"api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.getFuzzyLocation.html","group_name":"地理位置"},{"api_name":"wx.getLocation","api_ch_name":"wx.getLocation","api_desc":"获取当前的地理位置、速度","status":2,"fail_reason":"声明了不采集隐私协议","api_link":"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/api\/location\/wx.getLocation.html ","group_name":"地理位置"}]}
      2023-06-16
      回复
    • 第三方平台小助手
      第三方平台小助手
      2023-06-16回复s7ella
      "fail_reason": "声明了不采集隐私协议", 核实是小程序隐私协议未完善导致的,管理员有接收到:《用户隐私保护指引》需完善的通知。请完善隐私项配置! https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/privacy_setting.html 建议参考步骤执行:提交代码--->稍等(若小程序是首次提审代码后台需要些时间检测)--->get接口看下需要补什么信息---->set隐私---->提交审核---->提交发布 注意:小程序用户隐私保护指引项的说明需要有准确、清晰的使用场景、目的
      2023-06-16
      回复
    • s7ella
      s7ella
      2023-06-16回复第三方平台小助手
      获取隐私配置: https://api.weixin.qq.com/cgi-bin/component/getprivacysetting?access_token=69_N9MlKvye4nP5Uw2EAfEVVKZ7SFcN8EA1zOQPlypH2Ie-ibaoyVrSKntyR5lY-V98bLuh4ISTp8S2rJ2F9Hh3-r3yWkCUtrF-ftwiZ_tXukKshzNe_i-qxkshvHOppYM7KCNfWo1IzthiI9I6MIXiAMDBXM ,返回信息如下,已经申请了privacy_key=address,获取用户的收货地址,请问还需要配置哪个隐私选项?:{"errcode":0,"errmsg":"ok","code_exist":1,"privacy_list":["Address","AlbumWriteOnly"],"setting_list":[{"privacy_key":"UserInfo","privacy_text":"获取注册用户的信息(微信昵称、头像)","privacy_label":""},{"privacy_key":"Address","privacy_text":"获取用户的收货地址","privacy_label":""},{"privacy_key":"PhoneNumber","privacy_text":"关联系统已存在的客户信息,返回相关的用户订单记录等","privacy_label":""},{"privacy_key":"DeviceInfo","privacy_text":"做屏幕适配等","privacy_label":""},{"privacy_key":"AlbumWriteOnly","privacy_text":"生成产品的分享海报图,用于朋友圈分享产品","privacy_label":""}],"update_time":1679023562,"owner_setting":{"contact_phone":"","contact_email":"tongxiaofei@yiwugou.com","contact_qq":"","contact_weixin":"","store_expire_timestamp":"","ext_file_media_id":"","notice_method":"公告","store_region":0},"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":[]}
      2023-06-16
      回复
    • 第三方平台小助手
      第三方平台小助手
      2023-06-16回复s7ella
      需要有准确、清晰的使用场景、目的描述信息,请调整后,再进行提审代码操作
      2023-06-16
      回复
    • s7ella
      s7ella
      2023-06-19回复第三方平台小助手
      设置隐私配置改了,address改为:“用户编辑收货地址时,支持通过点击按钮获取微信收货地址,自动填充微信收货地址来作为用户收货地址”,但get_privacy_interface接口取到数据仍是status=2, fail_reason=声明了不采集隐私协议,请问是有缓存吗?能不能帮忙看下还有啥问题,https://api.weixin.qq.com/cgi-bin/component/getprivacysetting?access_token=69_eoAvIZe_oG6Lme1txuG9VbjHpYjjdaFInuNBNqpB83szuBBwsp9KVLfgk-02Sj23iXgv7q8s688JMc0n9x-GDGQmSQdBB2n5Nw_ea7JibuNSMPphJXE3r3OJZlxFxjrmVKwZr4jLH41Nqn9aXQLjAHDGZU  ,操作时间6.19 15:55左右,{"errcode":0,"privacy_desc":{"privacy_desc_list":[{"privacy_desc":"用户信息(微信昵称、头像)","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"}]},"update_time":1687155576,"code_exist":1,"setting_list":[{"privacy_text":"获取注册用户的信息(微信昵称、头像)","privacy_key":"UserInfo","privacy_label":""},{"privacy_text":"用户编辑收货地址时,支持通过点击按钮获取微信收货地址,自动填充微信收货地址来作为用户收货地址","privacy_key":"Address","privacy_label":""},{"privacy_text":"关联系统已存在的客户信息,返回相关的用户订单记录等","privacy_key":"PhoneNumber","privacy_label":""},{"privacy_text":"做屏幕适配等","privacy_key":"DeviceInfo","privacy_label":""},{"privacy_text":"生成产品的分享海报图,用于朋友圈分享产品","privacy_key":"AlbumWriteOnly","privacy_label":""}],"privacy_list":["Address","AlbumWriteOnly"],"errmsg":"ok","sdk_privacy_info_list":[],"owner_setting":{"ext_file_media_id":"","contact_phone":"","store_expire_timestamp":"","contact_qq":"","store_region":0,"contact_weixin":"","contact_email":"tongxiaofei@yiwugou.com","notice_method":"公告"}}
      2023-06-19
      回复
    查看更多(4)
登录 后发表内容