WeChat Mini Program API Network Status
wx.getNetworkType(OBJECT)
Get the network type.
OBJECT parameter description:
wx.getNetworkType({ success: function(res) { var networkType = res.networkType // 返回网络类型2g,3g,4g,wifi } } )
Get the network type.
OBJECT parameter description:
wx.getNetworkType({ success: function(res) { var networkType = res.networkType // 返回网络类型2g,3g,4g,wifi } } )