Files
AILab/sentinel/pkg/model/BaseResponse.go
T
2025-12-29 16:30:55 +08:00

8 lines
264 B
Go

package model
type BaseResponse struct {
Status bool `json:"status"` // 是否成功
Message string `json:"message"` // 提示信息
Data interface{} `json:"data,omitempty"` // 泛型数据,用 interface{} 接收任意类型
}