收藏
回答

已经调用set方法提交了隐私配置,可是接着调用get方法时拿到的配置列表还是空的?

相关接口:
1https://api.weixin.qq.com/cgi-bin/component/setprivacysetting?access_token=ACCESS_TOKEN
2https://api.weixin.qq.com/cgi-bin/component/getprivacysetting?access_token=ACCESS_TOKEN

操作时间:2021-11-19 104553
小程序appid:wx49fbf8f3b271b247
第三方平台appid:wx7308d3a1443bd561

流程:
1、调用 setprivacysetting 接口,请求参数:{"owner_setting":{"notice_method":"小程序弹窗","contact_email":"wxsupport@163.com"},"setting_list":[{"privacy_key":"Address","privacy_text":"提供快速选址服务"},{"privacy_key":"Album","privacy_text":"方便地提交表单、服务评价等信息"},{"privacy_key":"PhoneNumber","privacy_text":"更好地为您提供会员服务"},{"privacy_key":"UserInfo","privacy_text":"更好地为您提供会员服务"},{"privacy_key":"Camera","privacy_text":"拍摄上传信息"},{"privacy_key":"MessageFile","privacy_text":"上传文件信息"},{"privacy_key":"AlbumWriteOnly","privacy_text":"快速保存图片至手机"},{"privacy_key":"Location","privacy_text":"提供地图定位相关服务"}]}
2、setprivacysetting 接口返回结果:{"errcode":0,"errmsg":"ok"}
3、调用 getprivacysetting 接口,确认是否有提交成功,请求参数:{"privacy_ver":2}
4、getprivacysetting  接口返回结果:{"errcode":0,"errmsg":"ok","code_exist":0,"privacy_list":[],"setting_list":[],"update_time":0,"owner_setting":{"contact_phone":"","contact_email":"","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_list 和 owner_setting 是空的,可是上面我明明已经提交成功了。

麻烦看看是什么情况,因为会导致偶尔审核失败,说没有配置隐私保护配置,可是明明已经配置了。



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

1 个回答

  • 第三方平台小助手
    第三方平台小助手
    2021-11-19

    你好,请提供下set成功的日志截图信息,麻烦现在重新查询看下配置信息,并通过相关截图

    2021-11-19
    有用
    回复 1
    • 李尚往来
      李尚往来
      2021-11-19
      我遇到的问题是,所有的都已经提交好了,也能通过get接口查询到对应的权限结果。 但是小程序审核却还是提示说没有设置用户隐私。怎么解?已经提问了,问题还在审核中...
      2021-11-19
      回复
登录 后发表内容