(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1227:function(e,t,n){"use strict";n.r(t);n(41);var c=n(12),a=n.n(c),i=n(5),s=n(7),o=n(6),r=n(8),u=n(9),l=n(0),b=n.n(l),d=n(22),f=n(3),p=(n(732),n(37)),v=n.n(p),m=function(e){function t(e){var n;return Object(i.a)(this,t),(n=Object(o.a)(this,Object(r.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport"):f.d.get("".concat(API.home,"/sys/receive/reg/gift")).then(function(e){var t=e.data,n=t.code,c=t.msg;200===n?a.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2):a.a.info(c,2)})},n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){v.a.set("blessing_invite_uid",Object(f.c)("shareuid")),v.a.set("blessing_invite_code",Object(f.c)("code"))}},{key:"render",value:function(){return b.a.createElement("div",{className:"activity__con"},b.a.createElement("div",{className:"banner__con"}),b.a.createElement("div",{className:"content__con"},b.a.createElement("div",{className:"button__get",onClick:this.getGift},"\u7acb\u5373\u9886\u53d6")))}}]),t}(l.Component);t.default=Object(d.b)(function(e){return{user:e.user}},null)(m)},732:function(e,t,n){}}]);
//# sourceMappingURL=Activity.95cc849c.chunk.js.map