收藏
回答

第三方设置隐私条款不成功?

之前上架过小程序,新版本换成里第三方。

使用接口配置隐私条款不成功:

https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token={$token}

回执一直是

array(2) {

["errcode"]=>

int(0)

["errmsg"]=>

string(2) "ok"

通过https://api.weixin.qq.com/cgi-bin/component/getprivacysetting?access_token={$token}获取一直是空白

array (
  'errcode' => 0,
  'errmsg' => 'ok',
  'code_exist' => 0,
  'privacy_list' => 
  array (
  ),
  'setting_list' => 
  array (
  ),
  'update_time' => 0,
  'owner_setting' => 
  array (
    'contact_phone' => '',
    'contact_email' => '',
    'contact_qq' => '',
    'contact_weixin' => '',
    'store_expire_timestamp' => '',
    'ext_file_media_id' => '',
    'notice_method' => '',
    'store_region' => 0,
  ),
  'privacy_desc' => 
  array (
    'privacy_desc_list' => 
    array (
      0 => 
      array (
        'privacy_key' => 'UserInfo',
        'privacy_desc' => '用户信息(微信昵称、头像)',
      ),
      1 => 
      array (
        'privacy_key' => 'Location',
        'privacy_desc' => '位置信息',
      ),
      2 => 
      array (
        'privacy_key' => 'Address',
        'privacy_desc' => '地址',
      ),
      3 => 
      array (
        'privacy_key' => 'Invoice',
        'privacy_desc' => '发票信息',
      ),
      4 => 
      array (
        'privacy_key' => 'RunData',
        'privacy_desc' => '微信运动数据',
      ),
      5 => 
      array (
        'privacy_key' => 'Record',
        'privacy_desc' => '麦克风',
      ),
      6 => 
      array (
        'privacy_key' => 'Album',
        'privacy_desc' => '选中的照片或视频信息',
      ),
      7 => 
      array (
        'privacy_key' => 'Camera',
        'privacy_desc' => '摄像头',
      ),
      8 => 
      array (
        'privacy_key' => 'PhoneNumber',
        'privacy_desc' => '手机号',
      ),
      9 => 
      array (
        'privacy_key' => 'Contact',
        'privacy_desc' => '通讯录(仅写入)权限',
      ),
      10 => 
      array (
        'privacy_key' => 'DeviceInfo',
        'privacy_desc' => '设备信息',
      ),
      11 => 
      array (
        'privacy_key' => 'EXIDNumber',
        'privacy_desc' => '身份证号码',
      ),
      12 => 
      array (
        'privacy_key' => 'EXOrderInfo',
        'privacy_desc' => '订单信息',
      ),
      13 => 
      array (
        'privacy_key' => 'EXUserPublishContent',
        'privacy_desc' => '发布内容',
      ),
      14 => 
      array (
        'privacy_key' => 'EXUserFollowAcct',
        'privacy_desc' => '所关注账号',
      ),
      15 => 
      array (
        'privacy_key' => 'EXUserOpLog',
        'privacy_desc' => '操作日志',
      ),
      16 => 
      array (
        'privacy_key' => 'AlbumWriteOnly',
        'privacy_desc' => '相册(仅写入)权限',
      ),
      17 => 
      array (
        'privacy_key' => 'LicensePlate',
        'privacy_desc' => '车牌号',
      ),
      18 => 
      array (
        'privacy_key' => 'BlueTooth',
        'privacy_desc' => '蓝牙',
      ),
      19 => 
      array (
        'privacy_key' => 'CalendarWriteOnly',
        'privacy_desc' => '日历(仅写入)权限',
      ),
      20 => 
      array (
        'privacy_key' => 'Email',
        'privacy_desc' => '邮箱',
      ),
      21 => 
      array (
        'privacy_key' => 'MessageFile',
        'privacy_desc' => '选中的文件',
      ),
      22 => 
      array (
        'privacy_key' => 'ChooseLocation',
        'privacy_desc' => '选择的位置信息',
      ),
      23 => 
      array (
        'privacy_key' => 'Accelerometer',
        'privacy_desc' => '加速传感器',
      ),
      24 => 
      array (
        'privacy_key' => 'Compass',
        'privacy_desc' => '磁场传感器',
      ),
      25 => 
      array (
        'privacy_key' => 'DeviceMotion',
        'privacy_desc' => '方向传感器',
      ),
      26 => 
      array (
        'privacy_key' => 'Gyroscope',
        'privacy_desc' => '陀螺仪传感器',
      ),
      27 => 
      array (
        'privacy_key' => 'Clipboard',
        'privacy_desc' => '剪切板',
      ),
    ),
  ),
  'sdk_privacy_info_list' => 
  array (
  ),
)



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

2 个回答

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

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

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

    若还是不行,请将每个操作的请求包(包括token)、回包、操作时间点信息完整提供出来

    2023-06-05
    有用
    回复 3
    • 未到o
      未到o
      2023-06-13
      2023-06-13
      回复
    • 未到o
      未到o
      2023-06-13
      返回值一直正常
      2023-06-13
      回复
    • 第三方平台小助手
      第三方平台小助手
      2023-06-13回复未到o
      请另发贴咨询问题
      2023-06-13
      回复
  • 跨商通
    跨商通
    2023-06-05

    我以前也是直接翻译,不让过,后来写具体使用场景了。

    https://developers.weixin.qq.com/community/develop/article/doc/000826136e4d88f6a18fcddd15b413

    2023-06-05
    有用
    回复
登录 后发表内容