(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-67f64952"],{"1acd":function(t,e,s){},5777:function(t,e,s){"use strict";s("1acd")},"5be2":function(t,e,s){"use strict";s.d(e,"e",(function(){return n})),s.d(e,"f",(function(){return r})),s.d(e,"c",(function(){return o})),s.d(e,"d",(function(){return a})),s.d(e,"a",(function(){return c})),s.d(e,"b",(function(){return l}));var i=s("f175");const n=()=>i.a.get("/settings.user.user/getConfig"),r=t=>i.a.post("/settings.user.user/setConfig",t),o=()=>i.a.get("/settings.user.user/getRegisterConfig"),a=t=>i.a.post("/settings.user.user/setRegisterConfig",t),c=()=>i.a.get("/settings.user.user/getInviteConfig"),l=t=>i.a.post("/settings.user.user/setInviteConfig",t)},"7d71":function(t,e,s){"use strict";s.r(e);var i=s("9ab4"),n=s("1b40"),r=s("b3ad"),o=s("5be2");let a=class extends n.e{constructor(){super(...arguments),this.form={invite_friend_gift_money:0,invite_gift_money:0}}getSetting(){Object(o.a)().then(t=>{this.form=t}).catch(()=>{this.$message.error("数据请求失败!")})}setSetting(){Object(o.b)(this.form).then(t=>{this.getSetting()}).catch(()=>{this.$message.error("保存失败!")})}created(){this.getSetting()}};a=Object(i.a)([Object(n.a)({components:{MaterialSelect:r.a}})],a);var c=a,l=(s("5777"),s("2877")),f=Object(l.a)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"setting-goods"},[s("el-form",{ref:"goodsSettingsRef",attrs:{model:t.goodsSettings,"label-width":"120px",size:"small"}},[s("div",{staticClass:"ls-card"},[s("div",{staticClass:"card-title"},[t._v("用户邀请")]),s("div",{staticClass:"card-content m-t-24"},[s("el-form-item",{attrs:{label:"好友奖励"}},[s("el-input",{staticClass:"ls-input",attrs:{"show-word-limit":""},model:{value:t.form.invite_friend_gift_money,callback:function(e){t.$set(t.form,"invite_friend_gift_money",e)},expression:"form.invite_friend_gift_money"}}),s("div",{staticClass:"muted xs"},[t._v("奖励成功一位奖励好友金币数量")])],1),s("el-form-item",{attrs:{label:"邀请人奖励"}},[s("el-input",{staticClass:"ls-input",attrs:{"show-word-limit":""},model:{value:t.form.invite_gift_money,callback:function(e){t.$set(t.form,"invite_gift_money",e)},expression:"form.invite_gift_money"}}),s("div",{staticClass:"muted xs"},[t._v("奖励成功一位好友奖励邀请人金币数量")])],1)],1)])]),s("div",{staticClass:"bg-white ls-fixed-footer"},[s("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[s("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.setSetting()}}},[t._v("保存")])],1)])],1)}),[],!1,null,"517e5bac",null);e.default=f.exports}}]);