Commit 25310c34 authored by 智勇's avatar 智勇

flush_redis_tke

parent 258641b1
...@@ -116,7 +116,7 @@ export function fetchServiceInstance(data) { ...@@ -116,7 +116,7 @@ export function fetchServiceInstance(data) {
export function flushRedis(query) { export function flushRedis(query) {
return request({ return request({
url: '/docker/flush_redis', url: '/docker/flush_redis_tke',
method: 'get', method: 'get',
params: query params: query
}) })
......
...@@ -480,7 +480,7 @@ export default { ...@@ -480,7 +480,7 @@ export default {
clearRedis() { clearRedis() {
flushRedis({ namespace: this.namespace }).then(res => { flushRedis({ namespace: this.namespace }).then(res => {
this.$message({ this.$message({
message: '清理redis缓存成功', message: res.data.msg || '清理redis缓存成功',
type: 'success' type: 'success'
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment