update
This commit is contained in:
@ -32,6 +32,10 @@ const (
|
||||
articleMaxSize = 100
|
||||
ArticleFixedImages = 6 // 列表每篇附带前 N 张缩略图
|
||||
imagesMax = 12
|
||||
|
||||
// PreviewLimit 未登录用户在列表接口可见的预览条数上限;
|
||||
// 超过部分由前端登录门禁提示,避免公开接口一次性吐出全部图集。
|
||||
PreviewLimit = 5
|
||||
)
|
||||
|
||||
// Normalize 校正分页与附图参数,防止非法值打穿数据库。
|
||||
|
||||
Reference in New Issue
Block a user