mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 11:29:37 +08:00
fix: QQ机器人返回数据不正确的问题
This commit is contained in:
@@ -314,10 +314,10 @@ func (h *PublicAPIHandler) SearchResources(c *gin.Context) {
|
||||
|
||||
// 构建响应数据
|
||||
responseData := gin.H{
|
||||
"data": resourceResponses,
|
||||
"total": total,
|
||||
"page": page,
|
||||
"page_size": pageSize,
|
||||
"list": resourceResponses,
|
||||
"total": total,
|
||||
"page": page,
|
||||
"limit": pageSize,
|
||||
}
|
||||
|
||||
SuccessResponse(c, responseData)
|
||||
|
||||
Reference in New Issue
Block a user