text: webpackJsonp([13],{466:function(e,t,n){n(658);var o=n(0)(n(619),n(699),null,null);e.exports=o.exports},619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=n.n(o),r=n(5),s=n.n(r),i=n(10),c=n.n(i),u=n(9);t.default={created:function(){},data:function(){return{url:"11",res:"",code:""}},methods:{getopenid:function(){var e=this;return s()(a.a.mark(function t(){var n,o,r,s;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="wx543968867249e28d",o="efc582e21d07549a8bade66ceefdc312",r="https://api.weixin.qq.com/sns/oauth2/access_token?appid="+n+"&secret="+o+"&code="+e.code+"&grant_type=authorization_code",e.url=r,alert(r),alert(u.f.getwebopenid),t.next=8,c()({method:"post",url:u.f.getwebopenid,params:{url:r}});case 8:s=t.sent,console.log("res",s);case 10:case"end":return t.stop()}},t,e)}))()}}}},637:function(e,t,n){t=e.exports=n(171)(),t.push([e.i,"html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}*{margin:0;padding:0}a img{border:0}a{text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}::-webkit-input-placeholder{font-family:-apple-system-font,Helvetica Neue,sans-serif}a{-webkit-touch-callout:none}",""])},658:function(e,t,n){var o=n(637);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n(447)("dac82b2c",o,!0)},699:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"test"},[n("h1",[e._v(e._s(e.url))]),e._v(" "),n("h1",[e._v(e._s(e.res))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.code,expression:"code"}],attrs:{type:"text",name:"",placeholder:"code input"},domProps:{value:e.code},on:{input:function(t){t.target.composing||(e.code=t.target.value)}}}),e._v(" "),n("button",{attrs:{type:""},on:{click:e.getopenid}},[e._v("获取openid")])])},staticRenderFns:[]}}});