var jumpPage = encodeURIComponent('http://115.159.119.199:8080/meeting/src/html/app.html#search')

module.exports = {
    "button": [{
        "type": "view",
        "name": "预定",
        "url": 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx65cfe45c2c6fad4a&redirect_uri=http://roscoe.cn/info&response_type=code&scope=snsapi_userinfo&state=' + jumpPage + '#wechat_redirect'
    }]
}

var jumpPage = encodeURIComponent('http://baidu.com')

module.exports = {
    "button": [{
        "type": "view",
        "name": "预定",
        "url": 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx65cfe45c2c6fad4a&redirect_uri=http://roscoe.cn/info&response_type=code&scope=snsapi_userinfo&state=' + jumpPage + '#wechat_redirect'
    }]
}

test url