fix(消息列表): 移除分页参数限制为固定100条

修复消息列表查询中分页参数的问题,改为固定返回100条记录以提升性能
This commit is contained in:
邹方成 2025-10-30 23:30:46 +08:00
parent c983c96449
commit 8e7cdbad1f

View File

@ -87,8 +87,7 @@ func (h *handler) AppMessagePageList() core.HandlerFunc {
resultData, err := listQueryDB.
Order(h.readDB.AppMessageLog.SendTime.Desc()).
Limit(req.PageSize).
Offset((req.Page - 1) * req.PageSize).
Limit(100).
Find()
if err != nil {
ctx.AbortWithError(core.Error(