启程易购后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
qicheng_shop_backend/public/system/js/chunk-6136c85e.04570e68.js

1 lines
2.7 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6136c85e"],{"52cf":function(t,n,e){"use strict";e("8ee9")},"8ee9":function(t,n,e){},"8f76":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("div",{staticClass:"box-card"},[e("div",{staticClass:"card_container"},[e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.clearCache(1)}}},[t._v("清除全部缓存")]),t._v(" "),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.clearCache(2)}}},[t._v("清理商户缓存")]),t._v(" "),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(n){return t.clearCache(3)}}},[t._v("清理配置缓存")])],1)])])},a=[],c=e("f955"),u={name:"DataCache",data:function(){return{}},mounted:function(){},methods:{clearCache:function(t){var n=this;return new Promise((function(e,r){n.$confirm("确定清除吗?清除后无法恢复请谨慎操作!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(c["g"])({type:t}).then((function(t){var e=t.message;n.$message.success(e)})).catch((function(t){var e=t.message;n.$message.error(e)}))})).catch((function(t){n.$message({type:"info",message:"已取消"})}))}))}}},i=u,o=(e("52cf"),e("2877")),s=Object(o["a"])(i,r,a,!1,null,"8d6f14c6",null);n["default"]=s.exports},f955:function(t,n,e){"use strict";e.d(n,"j",(function(){return a})),e.d(n,"k",(function(){return c})),e.d(n,"h",(function(){return u})),e.d(n,"d",(function(){return i})),e.d(n,"n",(function(){return o})),e.d(n,"m",(function(){return s})),e.d(n,"i",(function(){return f})),e.d(n,"c",(function(){return d})),e.d(n,"l",(function(){return l})),e.d(n,"b",(function(){return p})),e.d(n,"e",(function(){return h})),e.d(n,"a",(function(){return m})),e.d(n,"f",(function(){return y})),e.d(n,"g",(function(){return g})),e.d(n,"o",(function(){return b}));var r=e("0c6d");function a(){return r["a"].get("safety/database/fileList")}function c(t){return r["a"].delete("safety/database/delete",t)}function u(){return r["a"].get("safety/database/lst")}function i(t){return r["a"].post("safety/database/backups",t)}function o(t){return r["a"].post("safety/database/repair",t)}function s(t){return r["a"].post("safety/database/optimize",t)}function f(t){return r["a"].get("safety/database/detail/".concat(t))}function d(){return r["a"].get("auth")}function l(){return r["a"].get("copyright/auth")}function p(t){return r["a"].post("auth_apply",t)}function h(){return r["a"].get("check_auth")}function m(){return r["a"].get("pay/auth")}function y(){return r["a"].get("check/queue")}function g(t){return r["a"].post("clear/cache",t)}function b(t){return r["a"].post("copyright/save",t)}}}]);