调整 api 目录,代码优化

This commit is contained in:
dqjdda
2019-11-22 19:57:35 +08:00
parent d99fb71fe0
commit 559adfd786
61 changed files with 394 additions and 831 deletions

View File

@@ -0,0 +1,16 @@
import request from '@/utils/request'
export function get(tableName) {
return request({
url: 'api/genConfig/' + tableName,
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/genConfig',
data,
method: 'put'
})
}