require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_course/reward"],{370:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var c=r(t(371));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t(1)["default"],t(2)["createPage"])},371:function(n,e,t){"use strict";t.r(e);var r=t(372),c=t(374);for(var o in c)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(o);t(376);var a,i=t(34),u=Object(i["default"])(c["default"],r["render"],r["staticRenderFns"],!1,null,"52c3844a",null,!1,r["components"],a);u.options.__file="pages_course/reward.vue",e["default"]=u.exports},372:function(n,e,t){"use strict";t.r(e);var r=t(373);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},373:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return c})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return o})),t.d(e,"components",(function(){return r}));var c=function(){var n=this,e=n.$createElement;n._self._c},o=!1,a=[];c._withStripped=!0},374:function(n,e,t){"use strict";t.r(e);var r=t(375),c=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=c.a},375:function(n,e,t){"use strict";(function(n,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=t(168),o={data:function(){return{mchId:"",packageInfo:"",sid:""}},onLoad:function(e){e.packageInfo&&e.mchId&&(n.setStorageSync("mchId",e.mchId),n.setStorageSync("receive_package",e.packageInfo))},mounted:function(){this.sid=r.getAccountInfoSync().miniProgram.appId},methods:{handleReceive:function(){var e=this;this.packageInfo=n.getStorageSync("receive_package")||"",this.mchId=n.getStorageSync("mchId")||"",this.$nextTick((function(){e.handleTest()}))},handleTest:function(){var n=this;console.log("wxf9d43e667e4a80e3",r.getAccountInfoSync().miniProgram.appId),r.canIUse("requestMerchantTransfer")?r.requestMerchantTransfer({mchId:n.mchId,appId:r.getAccountInfoSync().miniProgram.appId,package:n.packageInfo,success:function(n){console.log("成功",n)},fail:function(n){console.log("失败",n)}}):r.showModal({content:"你的微信版本过低，请更新至最新版本。",showCancel:!1})},initWXConfig:function(e){var t=this,r="micromessenger"===String(navigator.userAgent.toLowerCase().match(/MicroMessenger/i));if(r){var o=window.location.href.split("#")[0];(0,c.initJssdk)((function(n){t.handleTest(e,n.appId,n.mchId)}),o)}else n.showToast({title:"请在微信浏览器中打开"})}}};e.default=o}).call(this,t(2)["default"],t(1)["default"])},376:function(n,e,t){"use strict";t.r(e);var r=t(377),c=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(o);e["default"]=c.a},377:function(n,e,t){}},[[370,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/pages_course/reward.js.map