代码生成同步功能完成

This commit is contained in:
Elune
2019-12-21 23:32:58 +08:00
parent 1e1705be50
commit aeebe25c60
5 changed files with 88 additions and 60 deletions

View File

@@ -23,3 +23,11 @@ export function save(data) {
})
}
export function sync(tables) {
return request({
url: 'api/generator/sync',
method: 'post',
data: tables
})
}