yuliang 5 éve
szülő
commit
a2d3924585
2 módosított fájl, 9 hozzáadás és 1 törlés
  1. 1 1
      admin-ui/app/whepi/ceshi.js
  2. 8 0
      admin-ui/app/whepi/mock/menu.json

+ 1 - 1
admin-ui/app/whepi/ceshi.js

@@ -64,7 +64,7 @@ define(function (require) {
                     var a = $form.formGet()
 
                     $.yvan.ajax({
-                      method: 'post',
+                      method: 'get',
                       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',
                       data: $form.formGet(),
                       success: function (data) {

+ 8 - 0
admin-ui/app/whepi/mock/menu.json

@@ -17,6 +17,14 @@
       "iconCls": "icon-blank fa fa-align-justify",
       "state": "close",
       "children": []
+    },
+    {
+      "id": "ENT10011",
+      "text": "授权测试",
+      "href": "/app/whepi/ceshi.js",
+      "iconCls": "icon-blank fa fa-align-justify",
+      "state": "close",
+      "children": []
     }
   ]
 }