123456789101112131415161718192021222324252627282930313233343536 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>测试</title>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta http-equiv="Access-Control-Allow-Origin" content="*" />
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <script src="${s3('/jquery/1.11.0/jquery.min.js')}"></script>
- </head>
- <body>
- <div>
- <input type="button" style="height: 70px; width: 150px " onclick="clickwwwww();" value="测试"/>
- </div>
- </body>
- </html>
- <script>
- function clickwwwww() {
- debugger;
- $.ajax({
- url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa3991865de920847&redirect_uri=http://yuliang.ng.yvanui.com/userOpen/loginTest&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect',
- get: "get",
- success: function (data) {
- alert(data);
- console.log(data);
- },
- });
- }
- (function ($) {
- })(jQuery);
- </script>
|