小程序之前上架过,现在转第三方,通过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"
}
你好,这里描述的设置不成功是指set后,get获取时没有显示配置的信息吗?将调用getPrivacySetting接口https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/privacy-management/getPrivacySetting.html的请求包(包括token)、回包也完整提供下