评论

#第三方平台 小程序用户隐私协议相关

#第三方平台 小程序用户隐私协议相关

步骤:

1.请先用api(https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/commit.html)上传代码 

2.再getprivacysetting(https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/get_privacy_setting.html)查询下需要配置的项

3.调用setprivacysetting(https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/set_privacy_setting.html)接口配置后,

4.再重新查询下是否配置成功;

5.然后再提交审核哈



过程:

1.如果授权小程序没有设置用户隐私,API提交审核会提示:errcode=85086,errmsg=must commit before submit audit rid: xxxx-xxxxx-xxxx

最后一次编辑于  2021-11-26  
点赞 0
收藏
评论

4 个评论

  • 一卡通,门禁,车牌识别  杨
    一卡通,门禁,车牌识别 杨
    2023-06-24

    楼主,需要怎么操作啊,我这小程序是别人代开发的,现在开发的时间也长了,原来的公司也不管了,这个隐私保护需要怎么操作,能给解释一下吗?本人并非程序开发人员,所以那些专业术语听不懂,谅解

    2023-06-24
    赞同
    回复 1
  • 十九
    十九
    2022-12-02

    "must commit before submit audit id"的错误跟隐私权限有啥关系... 这个错是因为审核前还没有上传代码吧

    2022-12-02
    赞同
    回复
  • 自然凉
    自然凉
    2022-10-21

    调用 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}
    
    2022-10-21
    赞同
    回复 2
    • peng
      peng
      2022-10-21
      自动填写订单地址 ,你们要用定位信息填写省市区?
      另外位置接口需要单独申请一下
      2022-10-21
      回复
    • 自然凉
      自然凉
      2022-10-21回复peng
      这个接口也申请了,但是请求返回出来的结果是:
      "errcode": 61035,
      "errmsg": "he api not need apply, hint: [f4ea755d-d280-4737-a2ad-4ac115783feb] rid: 63523cd8-76735b00-11aed137"
      2022-10-21
      回复
  • 瞐ོ
    瞐ོ
    2021-12-02

    没有用到的隐私在配置的时候可以全部写一遍吗?

    2021-12-02
    赞同
    回复 3
登录 后发表内容