refactor: 重构更新多个文件中的相关调用

This commit is contained in:
TsMask committed 2025-02-20 10:11:40 +08:00
1 parent f3c33b31ac
commit 5b9bcd6660
34 files changed
+1243 -1894

No files matched your search

+3 -1
View File
@@ -22,7 +22,9 @@ func TotalResp(total int64) map[string]any {
}
func TotalDataResp(data any, total any) map[string]any {
return map[string]any{"code": CODE_SUCC, "data": data, "total": total}
return map[string]any{"code": CODE_SUCC, "data": map[string]any{
"rows": data, "total": total,
}, "msg": "success"}
}
func SuccResp(va map[string]any) map[string]any {