refactor(backend): 统一返回的数据格式

This commit is contained in:
zhengxinonly
2025-07-08 22:16:12 +08:00
parent 65e41ac9f1
commit fa69175e65
18 changed files with 212 additions and 113 deletions
+2 -1
View File
@@ -157,6 +157,7 @@
action=""
id="user-role-form"
lay-filter="user-role-form"
style="display: none"
>
<div class="row" style="margin: 10px 5px">
<ul id="user_role" class="dtree" data-id="0"></ul>
@@ -193,7 +194,7 @@
elem: "#user-table",
id: "user-table",
url: "/api/v1/user", // 此处为静态模拟数据,实际使用时需换成真实接口
height: "full-35", // 最大高度减去其他容器已占有的高度差
height: "full", // 最大高度减去其他容器已占有的高度差
toolbar: "#user-toolbar",
page: true,
cols: [