问题解决:不用申请该接口,直接提交审核。
{
"errcode": 0,
"errmsg": "ok",
"interface_list": [
{
"api_name": "wx.choosePoi",
"api_ch_name": "wx.choosePoi",
"api_desc": "打开 POI 列表选择位置",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.choosePoi.html",
"group_name": "地理位置"
},
{
"api_name": "wx.getFuzzyLocation",
"api_ch_name": "wx.getFuzzyLocation",
"api_desc": "获取当前的模糊地理位置",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getFuzzyLocation.html",
"group_name": "地理位置"
},
{
"api_name": "wx.getLocation",
"api_ch_name": "wx.getLocation",
"api_desc": "获取当前的地理位置、速度",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html ",
"group_name": "地理位置"
},
{
"api_name": "wx.chooseLocation",
"api_ch_name": "wx.chooseLocation",
"api_desc": "打开地图选择位置",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.chooseLocation.html",
"group_name": "地理位置"
},
{
"api_name": "wx.startLocationUpdateBackground",
"api_ch_name": "wx.startLocationUpdateBackground",
"api_desc": "开启小程序进入前后台时均接收位置消息",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdateBackground.html",
"group_name": "地理位置"
},
{
"api_name": "wx.chooseAddress",
"api_ch_name": "wx.chooseAddress",
"api_desc": "获取用户收货地址",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/open-api/address/wx.chooseAddress.html",
"group_name": "地理位置"
},
{
"api_name": "wx.startLocationUpdate",
"api_ch_name": "wx.startLocationUpdate",
"api_desc": "开启小程序进入前台时接收位置消息",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.startLocationUpdate.html",
"group_name": "地理位置"
},
{
"api_name": "wx.onLocationChange",
"api_ch_name": "wx.onLocationChange",
"api_desc": "监听实时地理位置变化事件",
"status": 2,
"fail_reason": "声明了不采集隐私协议",
"api_link": "https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.onLocationChange.html",
"group_name": "地理位置"
}
]
}
申请地理位置返回结果:{“errcode”:61035,“errmsg”:“API 不需要应用,提示:[836CFA9d-7DBE-4D48-BDBA-B24275A0064F] RID: 649BDC0C-2FBA8364-3B635D79”}
问题解决:字面意思不用申请该接口直接提交审核代码通过、
看提示 "fail_reason": "声明了不采集隐私协议",程序隐私协议未完善导致的,管理员应该有接收到:《用户隐私保护指引》需完善的通知。请完善隐私项配置! https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/privacy_setting.html 建议参考步骤执行:提交代码--->稍等(若小程序是首次提审代码后台需要些时间检测)--->get接口看下需要补什么信息---->set隐私---->提交审核---->提交发布。注意:小程序用户隐私保护指引项的说明需要有准确、清晰的使用场景、目的。
{"setting_list":[{"privacy_key":"Location","privacy_text":"获取位置信息用于推荐所在省份的招生信息"},{"privacy_key":"Address","privacy_text":"获取当前所在地址"},{"privacy_key":"ChooseLocation","privacy_text":"用户使用地图组件自定义选择位置"}],"owner_setting":{"contact_phone":"15192825031","notice_method":"弹窗"}}
{"errcode":0,"errmsg":"ok"}