refactor(后端): 重构后端API响应数据格式,统一为Code Message Data

This commit is contained in:
ygxbnet committed 2026-06-03 18:03:37 +08:00
1 parent d6d2a4ad96
commit 58a29f2b9d
3 files changed
+130 -36

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
package model
type APIResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data any `json:"data"`
}