收藏
回答

开放平台配置小程序用户隐私保护指引为何不生效?如何处理此问题?

相关接口:https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token=ACCESS_TOKEN

小程序appid: wxc0b2d130816163a2

第三方平台appid: wxe9eeed1cd89755f2

描述:为这个小程序设置隐私保护协议,返回 ok, 使用getprivacysetting 查询并未设置成功。多次设置均不生效

请求操作截图:

参数:

{"owner_setting":{"contact_weixin":"fzxkf01","notice_method":"电话通知"},"setting_list":[{"privacy_key":"PhoneNumber","privacy_text":"方便经纪人联系你"}]}


getprivacysetting 查询结果

{
  "errcode": 0,
  "errmsg": "ok",
  "code_exist": 0,
  "privacy_list": [
    
  ],
  "setting_list": [
    
  ],
  "update_time": 0,
  "owner_setting": {
    "contact_phone": "",
    "contact_email": "",
    "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": "选中的文件"
      }
    ]
  }
}



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

1 个回答

  • 第三方平台小助手
    第三方平台小助手
    2021-11-22

    你好,请提供下调用接口设置的时间、使用的token信息以及查询时的操作时间

    2021-11-22
    有用
    回复 3
    • Youenough
      Youenough
      2021-11-22
      已私信
      2021-11-22
      回复
    • 张永
      张永
      2021-12-02回复Youenough
      请问解决了吗
      2021-12-02
      回复
    • 平头哥
      平头哥
      2022-04-03回复Youenough
      同样的问题,请问怎么解决的了?
      2022-04-03
      回复
登录 后发表内容