第三方设置隐私条款不成功?
发布于 2 年前 作者 liujie 8130 次浏览 来自 问答

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

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

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 (
  ),
)
回到顶部