SOURCE

console 命令行工具 X clear

                    
>
console
<script src="http://jsrun.net/JSZKp.js"></script>
$("#TiaoZhuan").bind("click",function(){ 
            // $.ajax({
            //     url: 'http://192.168.9.100/htmlprojectwebapi/singer/create',
            //     method: 'Get',
            //     success: function (response) {
            //         console.log(response);
            //     },
            //     error: function (ex) {
            //         console.log(ex);
            //     }
            // });
          var options = {
            url: 'https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=ACCESS_TOKEN&code=CODE',
             method: 'Get',
            success: function (result) {
                if (result.Code == 100) {
  
                }
            },
            returnType: 'json'
        };
        ajax.get(options);
  
  
})
<!-- <a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxff2c5af758a0c091&redirect_uri=www.chinahuinongtong.com:9935&response_type=code&scope=snsapi_privateinfo&agentid=1000002&state=szlsq1w2e3#wechat_redirect">点击跳转</a> -->
<button id="TiaoZhuan">跳转</button>