template config load (#2123)

* template config load

* compile vue frontend for product
This commit is contained in:
rewerma
2019-08-31 14:56:28 +08:00
committed by agapple
parent 3a388308d9
commit 1bcae9dc49
34 changed files with 205 additions and 17 deletions

View File

@@ -14,3 +14,10 @@ export function updateCanalConfig(data) {
data
})
}
export function getTemplateConfig() {
return request({
url: '/canal/config/template',
method: 'get'
})
}

View File

@@ -72,3 +72,10 @@ export function getActiveInstances(serverId) {
method: 'get'
})
}
export function getTemplateInstance() {
return request({
url: '/canal/instance/template',
method: 'get'
})
}