- startLocalServiceDiscovery在微信7.0.18上运行失败
今天升级了一下微信到7.0.18,以前运行OK的代码出问题了,就如下简单的代码,在开发工具上会到success里面,但在真机上就会到fail里面去。而且微信没有升级到7.0.18之前都运行的好好的。郁闷。错误信息就是:startLocalServiceDiscovery:fail search error wx.startLocalServiceDiscovery({ serviceType: '_http._tcp.', success: function(res){ let items = that.data.items; items.push('success'); items.push(res.errMsg) that.setData({items: items}) }, fail:function(res){ let items = that.data.items; items.push('fail'); items.push(res.errMsg) that.setData({items: items}) }, complete:function(res){ let items = that.data.items; items.push('complete'); items.push(res.errMsg) that.setData({items: items}) }, }) }, [图片]
2020-11-07 - 小程序测试号,测试授权登录,返回40125?
appID: wx829b2d18b0344dab 特意检查了下appid和secret,都没有问题,url也没有空格。 客服能帮我解决一下吗 ?
2019-12-17