收藏
回答

第三方配置小程序隐私协议接口设置未生效?

设置隐私协议:https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token=70_EH1mjVx-r2kIZwK41v3QzAJD-6ygY9FEwihWba4Kn0xW-gbfXtIaYV265-w4TlyBFiFmJkgQlFOws_X82PpyC_ynsQsw-H2kDGfBm7fIdNAK5U-arx6VIzH6glfn78fWifkUDnBE9MHdN-wNNJOgAHDZVA,DATA:{"privacy_ver":2,"owner_setting":{"contact_email":"2251315102@qq.com","contact_phone":null,"contact_qq":null,"contact_weixin":null,"ext_file_media_id":null,"notice_method":"小程序弹窗","store_expire_timestamp":null},"setting_list":[{"privacy_key":"UserInfo","privacy_text":"完善用户信息,无需用户手动填写,提供更好的服务"},{"privacy_key":"Location","privacy_text":"定位确定最近的门店,提供更好的服务"},{"privacy_key":"PhoneNumber","privacy_text":"使用客户手机号快捷开卡,享受贴心的服务"},{"privacy_key":"Invoice","privacy_text":"直接使用常用的开票信息,快捷开票"},{"privacy_key":"Address","privacy_text":"直接使用常用的收货地址,快捷下单"},{"privacy_key":"LicensePlate","privacy_text":"使用车牌号,快速完成人脸画像识别,提供更优质的服务"}]},RESULT:{"errcode":0,"errmsg":"ok"}

查询https://api.weixin.qq.com/cgi-bin/component/getprivacysetting?access_token=70_EH1mjVx-r2kIZwK41v3QzAJD-6ygY9FEwihWba4Kn0xW-gbfXtIaYV265-w4TlyBFiFmJkgQlFOws_X82PpyC_ynsQsw-H2kDGfBm7fIdNAK5U-arx6VIzH6glfn78fWifkUDnBE9MHdN-wNNJOgAHDZVA,DATA:{"privacy_ver":1},RESULT:{"errcode":0,"errmsg":"ok","code_exist":1,"privacy_list":["UserInfo","Location","Album","Contact"],"setting_list":[{"privacy_key":"UserInfo","privacy_text":"","privacy_label":""},{"privacy_key":"Location","privacy_text":"","privacy_label":""},{"privacy_key":"Album","privacy_text":"","privacy_label":""},{"privacy_key":"Contact","privacy_text":"","privacy_label":""}],"update_time":0,"owner_setting":{"contact_phone":"","contact_email":"","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":[]

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

2 个回答

  • 第三方平台小助手
    第三方平台小助手
    2023-07-26

    你好,https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/privacy_setting.html

    建议参考步骤执行:提交代码--->稍等(若小程序是首次提审代码后台需要些时间检测)--->get接口看下需要补什么信息---->set隐私---->提交审核---->提交发布

    注意:小程序用户隐私保护指引项的说明需要有准确、清晰的使用场景、目的 

    2023-07-26
    有用
    回复 6
    • 神经蛙
      神经蛙
      2023-08-31
      通过三方授权设置协议后,提审发布小程序,通过 openPrivacyContract 可以看最新隐私协议,但是协议中部分 api 仍然无法调用,errno:112 错误。请问是什么原因。
      2023-08-31
      回复
    • 第三方平台小助手
      第三方平台小助手
      2023-08-31回复神经蛙
      配置后-->提审-->发布,再操作
      2023-08-31
      回复
    • Joanna
      Joanna
      2023-09-05回复第三方平台小助手
      所以开发版就没有办法吗
      2023-09-05
      回复
    • 松松
      松松
      2023-09-06回复第三方平台小助手
      如果小程序已有一个现网版,可以通过该接口(privacy_ver=1)直接修改owner_setting里除了ext_file_media_id之外的信息,修改后即可生效
      这个为什么也没用,开发的时候就不能用功能了吗
      2023-09-06
      回复
    • 第三方平台小助手
      第三方平台小助手
      2023-09-06回复松松
      这是修改现网版已设置的隐私项,你是指哪里没用?另发帖咨询,描述详情
      2023-09-06
      回复
    查看更多(1)
  • 那一抹笑😃 穿透阳光
    那一抹笑😃 穿透阳光
    2023-07-25

    提交之后,要发布一次小程序版本

    2023-07-25
    有用
    回复
登录 后发表内容