refactor(后端): 重构后端API响应数据格式,统一为Code Message Data
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package model
|
||||
|
||||
type APIResponse struct {
|
||||
Code int `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Data any `json:"data"`
|
||||
}
|
||||
Reference in New Issue
Block a user