wx.getNetworkType(Object object)

    object.success 回调函数

    参数
    Object res

    res.networkType 的合法值

    示例代码