package dto // Response 统一响应结构 // Logan.Li type Response struct { Code int `json:"code"` Message string `json:"message"` Data interface{} `json:"data"` } // PaginatedResponse 分页响应结构 // Logan.Li type PaginatedResponse struct { Count int `json:"count"` TotalPages int `json:"total_pages"` CurrentPage int `json:"current_page"` PageSize int `json:"page_size"` Next *string `json:"next"` Previous *string `json:"previous"` Results interface{} `json:"results"` }