wip:(重构接口实现方式2)

This commit is contained in:
zhengxinonly
2022-05-10 01:13:37 +08:00
parent 82de7b0273
commit 7e6aecc99b
8 changed files with 144 additions and 134 deletions
+2 -2
View File
@@ -85,7 +85,7 @@
table.render({
parseData: parserTableData,
elem: '#tables',
url: '/api/v1/roles/roles',
url: '/api/v1/roles/role',
page: true,
cols: get_columns(),
skin: 'line',
@@ -225,7 +225,7 @@
let loading = layer.load()
$.ajax({
url: '/api/v1/roles/roles',
url: '/api/v1/roles/role',
data: { ids: ids },
dataType: 'json',
type: 'delete',