generated from root/miduo_server
1 line
17 KiB
Go
1 line
17 KiB
Go
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f7212ae"],{"0bc5":function(t,e,n){},"0e12":function(t,e,n){"use strict";n("0bc5")},2406:function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"j",(function(){return o})),n.d(e,"n",(function(){return i})),n.d(e,"o",(function(){return s})),n.d(e,"r",(function(){return c})),n.d(e,"i",(function(){return u})),n.d(e,"m",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"a",(function(){return f})),n.d(e,"e",(function(){return m})),n.d(e,"c",(function(){return p})),n.d(e,"b",(function(){return h})),n.d(e,"d",(function(){return g})),n.d(e,"p",(function(){return b})),n.d(e,"l",(function(){return v})),n.d(e,"f",(function(){return y})),n.d(e,"q",(function(){return _})),n.d(e,"g",(function(){return j}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/gm/getsendmaillist",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/system/gm/getsendmailalllist",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/gm/savemaillog",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/gm/sendmail",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/gm/updatemail",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/system/gm/getrechargeinfolist",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/gm/pay",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/gm/getpayloglist",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/gm/creatcdk",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/system/gm/getcreatcdklist",method:"post",data:t})}function p(t){return Object(r["a"])({url:"/system/gm/getcdkidlist",method:"post",data:t})}function h(t){return Object(r["a"])({url:"/system/gm/creatcdkcode",method:"post",data:t})}function g(t){return Object(r["a"])({url:"/system/gm/getcreatcdkcodelist",method:"post",data:t})}function b(t){return Object(r["a"])({url:"/system/gm/setsilence",method:"post",data:t})}function v(t){return Object(r["a"])({url:"/system/gm/getsilencelist",method:"post",data:t})}function y(t){return Object(r["a"])({url:"/system/gm/herocommentlist",method:"post",data:t})}function _(t){return Object(r["a"])({url:"/system/gm/setsilenceherocomment",method:"post",data:t})}function j(t){return Object(r["a"])({url:"/system/gm/herocommentloglist",method:"post",data:t})}},"333d":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{layout:"total, sizes, prev, pager, next, jumper",pagination:t.pagination,"page-size":t.pagination.pageSize,"current-page":t.pagination.currentPage,total:t.pagination.total,"page-sizes":t.pagination.pageSizes},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1)},a=[],o={props:{pagination:{type:Object,default:function(){return{pageSizes:[],pageSize:10,currentPage:1,total:0}}}},methods:{handleCurrentChange:function(t){this.pagination.currentPage=t},handleSizeChange:function(t){this.pagination.pageSize=t}}},i=o,s=(n("5c29"),n("2877")),c=Object(s["a"])(i,r,a,!1,null,null,null);e["a"]=c.exports},"5c29":function(t,e,n){"use strict";n("90b0")},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"67ab":function(t,e,n){var r=n("ca5a")("meta"),a=n("d3f4"),o=n("69a8"),i=n("86cc").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},d=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},f=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},m=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:m}},"90b0":function(t,e,n){},b39a:function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},c26b:function(t,e,n){"use strict";var r=n("86cc").f,a=n("2aeb"),o=n("dcbc"),i=n("9b43"),s=n("f605"),c=n("4a59"),u=n("01f9"),l=n("d53b"),d=n("7a56"),f=n("9e1e"),m=n("67ab").fastKey,p=n("b39a"),h=f?"_s":"size",g=function(t,e){var n,r=m(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=a(null),t._f=void 0,t._l=void 0,t[h]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[h]=0},delete:function(t){var n=p(this,e),r=g(n,t);if(r){var a=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=a),a&&(a.p=o),n._f==r&&(n._f=a),n._l==r&&(n._l=o),n[h]--}return!!r},forEach:function(t){p(this,e);var n,r=i(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!g(p(this,e),t)}}),f&&r(l.prototype,"size",{get:function(){return p(this,e)[h]}}),l},def:function(t,e,n){var r,a,o=g(t,e);return o?o.v=n:(t._l=o={i:a=m(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[h]++,"F"!==a&&(t._i[a]=o)),t},getEntry:g,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),d(e)}}},c6c6:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"send-form",staticStyle:{"margin-bottom":"15px"}},[n("div",{staticStyle:{"margin-bottom":"10px"}},[n("span",[t._v("服务器:")]),t._v(" "),n("el-select",{staticStyle:{width:"90%"},attrs:{size:"small",clearable:"",filterable:"",placeholder:"请选择服务器"},model:{value:t.searchForm.serverid,callback:function(e){t.$set(t.searchForm,"serverid",e)},expression:"searchForm.serverid"}},t._l(t.serverMaps,(function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),t._v(" "),n("div",{staticStyle:{"margin-bottom":"10px"}},[n("span",{staticStyle:{"line-height":"50px"}},[t._v("参数:")]),n("el-input",{staticStyle:{width:"90%"},attrs:{size:"small",clearable:"",type:"textarea",rows:"2"},model:{value:t.searchForm.param,callback:function(e){t.$set(t.searchForm,"param",e)},expression:"searchForm.param"}})],1),t._v(" "),n("div",{staticStyle:{"margin-bottom":"10px"}},[n("span",{staticStyle:{"line-height":"50px"}},[t._v("标题:")]),n("el-input",{staticStyle:{width:"90%"},attrs:{size:"small",clearable:"",type:"textarea",rows:"2"},model:{value:t.searchForm.title,callback:function(e){t.$set(t.searchForm,"title",e)},expression:"searchForm.title"}})],1),t._v(" "),n("div",[n("span",{staticStyle:{"line-height":"69px"}},[t._v("内容:")]),n("el-input",{staticStyle:{width:"90%"},attrs:{size:"small",clearable:"",type:"textarea",rows:"3"},model:{value:t.searchForm.content,callback:function(e){t.$set(t.searchForm,"content",e)},expression:"searchForm.content"}}),t._v(" "),n("el-button",{attrs:{type:"primary",size:""},on:{click:function(){return t.sendMailBtn()}}},[t._v("发送邮件")])],1)]),t._v(" "),n("div",{staticClass:"div-table"},[n("el-table",{attrs:{data:t.list,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},"default-sort":{prop:"updatetime",order:"descending"}}},[t._e(),t._v(" "),n("el-table-column",{attrs:{type:"index",label:"序号",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.$index+1)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"服务器名称",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.servername))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"参数",width:"280"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.param))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"标题",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.title))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"内容",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.content))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"cmd",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.cmd))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作人",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.updateuser))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作时间",width:"189",prop:"updatetime"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.updatetime))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return["0"==e.row.state?n("span",{style:{color:"#778899"}},[t._v("未发送")]):t._e(),t._v(" "),"1"==e.row.state?n("span",{style:{color:"#32CD32"}},[t._v("已发送")]):t._e(),t._v(" "),"2"==e.row.state?n("span",{style:{color:"#FFA500"}},[t._v("发送中")]):t._e(),t._v(" "),"3"==e.row.state?n("span",{style:{color:"#FF0000"}},[t._v("发送失败")]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.state?n("el-button",{attrs:{size:"small",type:"warning"},on:{click:function(){return t.cancelSend(e.row)}}},[t._v("取消发送")]):t._e()]}}])})],1)],1),t._v(" "),n("div",[n("pagination",{attrs:{pagination:t.pagination}})],1)])},a=[],o=n("5530"),i=(n("ac6a"),n("5df3"),n("f400"),n("333d")),s=n("2406"),c=n("eb8c"),u=n("83d6"),l=new Map,d={components:{pagination:i["a"]},data:function(){return{editNotavailable:!1,treeData:null,list:null,listLoading:!0,serverMaps:null,searchForm:{dataId:"",cmdStr:"sendmailall",serverid:"",param:"",title:"",content:"",rows:"10",page:"1"},pagination:u["pageParams"]}},watch:{"pagination.currentPage":function(){this.searchForm.page=this.pagination.currentPage,this.fetchData()},"pagination.pageSize":function(){this.searchForm.rows=this.pagination.pageSize,this.searchForm.page=1,this.fetchData()}},created:function(){this.getServerList(),this.fetchData()},methods:{fetchData:function(){var t=this;this.listLoading=!0,Object(s["j"])(Object(o["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.pagination.total=e.data.total,t.pagination.currentPage=e.data.current,t.listLoading=!1}))},getServerList:function(){var t=this;Object(c["u"])().then((function(e){t.serverMaps=e.data}))},sendMailBtn:function(){var t=this;this.listLoading=!0,Object(s["n"])(Object(o["a"])({},this.searchForm)).then((function(e){0===e.code?(t.$message({message:e.msg,type:"success"}),t.fetchData(),l.set(e.data,setTimeout((function(){t.searchForm.dataId=e.data,Object(s["o"])(Object(o["a"])({},t.searchForm)).then((function(e){0===e.code?(t.fetchData(),t.$message({message:e.msg,type:"success"})):(t.fetchData(),t.$message({message:e.msg,type:"error"}))})).catch((function(){t.fetchData()})),l.delete(e.data)}),1e4))):(t.fetchData(),t.$message({message:e.msg,type:"error"})),t.listLoading=!1}))},cancelSend:function(t){var e=this;clearTimeout(l.get(t.id)),t.state=0,Object(s["r"])({data:t}).then((function(t){0===t.code?(e.fetchData(),e.$message({message:t.msg,type:"success"})):(e.fetchData(),e.$message({message:t.msg,type:"error"}))})),l.delete(t.id)}}},f=d,m=(n("0e12"),n("2877")),p=Object(m["a"])(f,r,a,!1,null,"cddd8b38",null);e["default"]=p.exports},e0b8:function(t,e,n){"use strict";var r=n("7726"),a=n("5ca1"),o=n("2aba"),i=n("dcbc"),s=n("67ab"),c=n("4a59"),u=n("f605"),l=n("d3f4"),d=n("79e5"),f=n("5cc5"),m=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,h,g,b){var v=r[t],y=v,_=g?"set":"add",j=y&&y.prototype,O={},w=function(t){var e=j[t];o(j,t,"delete"==t||"has"==t?function(t){return!(b&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return b&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof y&&(b||j.forEach&&!d((function(){(new y).entries().next()})))){var S=new y,k=S[_](b?{}:-0,1)!=S,x=d((function(){S.has(1)})),F=f((function(t){new y(t)})),z=!b&&d((function(){var t=new y,e=5;while(e--)t[_](e,e);return!t.has(-0)}));F||(y=e((function(e,n){u(e,y,t);var r=p(new v,e,y);return void 0!=n&&c(n,g,r[_],r),r})),y.prototype=j,j.constructor=y),(x||z)&&(w("delete"),w("has"),g&&w("get")),(z||k)&&w(_),b&&j.clear&&delete j.clear}else y=h.getConstructor(e,t,g,_),i(y.prototype,n),s.NEED=!0;return m(y,t),O[t]=y,a(a.G+a.W+a.F*(y!=v),O),b||h.setStrong(y,t,g),y}},eb8c:function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"s",(function(){return o})),n.d(e,"n",(function(){return i})),n.d(e,"m",(function(){return s})),n.d(e,"x",(function(){return c})),n.d(e,"y",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return d})),n.d(e,"w",(function(){return f})),n.d(e,"E",(function(){return m})),n.d(e,"v",(function(){return p})),n.d(e,"D",(function(){return h})),n.d(e,"c",(function(){return g})),n.d(e,"z",(function(){return b})),n.d(e,"A",(function(){return v})),n.d(e,"F",(function(){return y})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return j})),n.d(e,"f",(function(){return O})),n.d(e,"B",(function(){return w})),n.d(e,"a",(function(){return S})),n.d(e,"o",(function(){return k})),n.d(e,"p",(function(){return x})),n.d(e,"C",(function(){return F})),n.d(e,"b",(function(){return z})),n.d(e,"u",(function(){return E})),n.d(e,"t",(function(){return D})),n.d(e,"r",(function(){return C})),n.d(e,"g",(function(){return $})),n.d(e,"G",(function(){return L})),n.d(e,"q",(function(){return P})),n.d(e,"l",(function(){return M})),n.d(e,"j",(function(){return I}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/game/liucun",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/system/game/payliucun",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/game/maindate",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/game/lv",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/game/playerinfo",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/system/game/vip",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/game/hour",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/game/hourlogin",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/game/serverinfo",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/system/game/saveupdatestatue",method:"post",data:t})}function p(t){return Object(r["a"])({url:"/system/game/getserverdetail/".concat(t),method:"get"})}function h(t){return Object(r["a"])({url:"/system/game/saveserver",method:"post",data:t})}function g(t){return Object(r["a"])({url:"/system/game/delserver/".concat(t),method:"post"})}function b(t){return Object(r["a"])({url:"/system/game/whitelist",method:"post",data:t})}function v(t){return Object(r["a"])({url:"/system/game/getwhitelistdetail/".concat(t),method:"get"})}function y(t){return Object(r["a"])({url:"/system/game/savewhitelist",method:"post",data:t})}function _(t){return Object(r["a"])({url:"/system/game/delwhitelist/".concat(t),method:"post"})}function j(t){return Object(r["a"])({url:"/system/game/blacklist",method:"post",data:t})}function O(t){return Object(r["a"])({url:"/system/game/getblacklistdetail/".concat(t),method:"get"})}function w(t){return Object(r["a"])({url:"/system/game/saveblacklist",method:"post",data:t})}function S(t){return Object(r["a"])({url:"/system/game/delblacklist/".concat(t),method:"post"})}function k(t){return Object(r["a"])({url:"/system/game/noticeinfo",method:"post",data:t})}function x(t){return Object(r["a"])({url:"/system/game/getnoticeinfodetail/".concat(t),method:"get"})}function F(t){return Object(r["a"])({url:"/system/game/savenoticeinfo",method:"post",data:t})}function z(t){return Object(r["a"])({url:"/system/game/delnoticeinfo/".concat(t),method:"post"})}function E(){return Object(r["a"])({url:"/system/game/getserverlist",method:"get"})}function D(t){return Object(r["a"])({url:"/system/game/getrechargestatisticslist",method:"post",data:t})}function C(t){return Object(r["a"])({url:"/system/game/rechargeflow",method:"post",data:t})}function $(t){return Object(r["a"])({url:"/system/game/getchatinfolist",method:"post",data:t})}function L(t,e,n){return Object(r["a"])({url:"/system/game/setsilence?id=".concat(t,"&type=").concat(e,"&serverId=").concat(n),method:"get"})}function P(t){return Object(r["a"])({url:"/system/game/getonlinenumlist",method:"post",data:t})}function M(t){return Object(r["a"])({url:"/system/game/getltvlist",method:"post",data:t})}function I(t){return Object(r["a"])({url:"/system/game/getitemloglist",method:"post",data:t})}},f400:function(t,e,n){"use strict";var r=n("c26b"),a=n("b39a"),o="Map";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(a(this,o),t);return e&&e.v},set:function(t,e){return r.def(a(this,o),0===t?0:t,e)}},r,!0)}}]); |