(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-575a99c2"],{"469e":function(t,e,s){"use strict";s.d(e,"h",(function(){return r})),s.d(e,"e",(function(){return c})),s.d(e,"a",(function(){return i})),s.d(e,"b",(function(){return o})),s.d(e,"c",(function(){return d})),s.d(e,"d",(function(){return u})),s.d(e,"f",(function(){return l})),s.d(e,"g",(function(){return g}));var n=s("f175"),a=s("6b2d");const r=t=>n.a.get("/settings.system.log/lists",{params:t}),c=()=>n.a.post("/settings.system.cache/clear"),i=t=>n.a.post("/crontab.crontab/add",t),o=t=>n.a.get("/crontab.crontab/detail",{params:t}),d=t=>n.a.post("/crontab.crontab/edit",t),u=t=>n.a.get("/crontab.crontab/expression",{params:t}),l=t=>a.a.get("/settings.system.dangerWord/getConfig",{params:t}),g=t=>a.a.post("/settings.system.dangerWord/setConfig",t)},"492f":function(t,e,s){"use strict";s.r(e);var n=s("469e"),a={data:()=>({danger:""}),methods:{getCheckConfig(){Object(n.f)().then(t=>{this.danger=t.data.words})},setCheckConfig(){Object(n.g)({words:this.danger}).then(t=>{this.getCheckConfig(),this.$message.success("保存成功!")})}},mounted(){this.getCheckConfig()}},r=s("2877"),c=Object(r.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ls-view ls-card"},[t._m(0),s("div",{staticClass:"card-content m-t-24"},[s("el-input",{attrs:{type:"textarea",rows:20,placeholder:"请输入敏感词，一行一个，回车换行"},model:{value:t.danger,callback:function(e){t.danger=e},expression:"danger"}})],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:t.setCheckConfig}},[t._v("保存")])],1)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-title"},[e("span",[this._v("敏感词汇")]),e("span",{staticClass:"muted m-l-10"},[this._v("这里设置的词库将用于全局的检测，如用户名，发帖，评论，聊天...")])])}],!1,null,null,null);e.default=c.exports},"6b2d":function(t,e,s){"use strict";var n=s("0613"),a=s("bc3a"),r=s.n(a),c=s("d70b"),i=s("afbc"),o=s("5c96"),d=s("6ddb");const u={baseURL:c.a.baseURL+"/adminapi",headers:{"content-type":"application/json"}},l=(Object(d.g)(()=>(n.a.commit("setToken",""),n.a.commit("setUserInfo",{}),n.a.commit("setPermission",{}),i.b.push("/account/login"),Promise.reject())),r.a.create(u));l.interceptors.request.use(t=>{const e=n.a.getters.token;return e&&(t.headers.token=e),t.headers.version=c.a.version,t},t=>Promise.reject(t)),l.interceptors.response.use(t=>t.data,t=>(Object(o.Message)({type:"error",message:"系统错误，请稍候再试"}),Promise.reject(t))),e.a=l}}]);