收藏
回答

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

AppID
wx5a4a218610d976c1
小程序之前上架过,现在转第三方,通过api接口设置总是不生效
'https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token=69_H5bkbXpLZlPcip7BRZou40hlfB1m_uyvcMXyBQm-6WVH4QZmCdFbem-ndHhHbS3KyQOBe2NhqY7pOz5VCG5X5a0GZVqtapmoxCQlpuqDVRVlXGvHGvyHv2Hq-FIRm7emf4n3wdso5Q5XyfPEQSQeADDUWU'
array (
  'owner_setting' => 
  array (
    'contact_phone' => 'xxx',
    'contact_email' => 'xxx@qq.com',
    'notice_method' => '短消息',
  ),
  'setting_list' => 
  array (
    0 => 
    array (
      'privacy_key' => 'UserInfo',
      'privacy_text' => '实现登录、注册小程序,更方便的登录管理账户',
    ),
    1 => 
    array (
      'privacy_key' => 'Location',
      'privacy_text' => '分城市展示不同地图服务',
    ),
    2 => 
    array (
      'privacy_key' => 'Address',
      'privacy_text' => '地图展示、坐标地址获取',
    ),
    3 => 
    array (
      'privacy_key' => 'Album',
      'privacy_text' => '媒体资料内容提交',
    ),
    4 => 
    array (
      'privacy_key' => 'PhoneNumber',
      'privacy_text' => '登录或提交数据',
    ),
    5 => 
    array (
      'privacy_key' => 'AlbumWriteOnly',
      'privacy_text' => '实现头像,资料等数据上传,完善表单信息',
    ),
    6 => 
    array (
      'privacy_key' => 'MessageFile',
      'privacy_text' => '表单数据上传,提供文件上传服务',
    ),
    7 => 
    array (
      'privacy_key' => 'ChooseLocation',
      'privacy_text' => '地图展示、坐标地址获取',
    ),
  ),
  'privacy_ver' => 2,
)

array(2) {

["errcode"]=>

int(0)

["errmsg"]=>

string(2) "ok"

}

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

1 个回答

登录 后发表内容