https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.getLocation.html
官方文档的fail回调函数的状态码没有。
你好,可以看下返回的errmsg,返回信息进行排查。