feat(v1.3.0): 图片编辑器(裁剪/旋转/图像大小/调色) + 批量水印 + AI生图 + 收藏体系 + 图片新窗口打开按钮 + 合拼拼图 + 返回顶部
This commit is contained in:
1 parent
e345456abf
commit
94ac94436c
46 files changed
+6521
-114
No files matched your search
@@ -207,6 +207,12 @@ class ImageModel extends BaseModel {
|
||||
params.push(filters.endDate);
|
||||
}
|
||||
|
||||
// 收藏过滤(左侧「我的收藏」菜单)
|
||||
if (filters.favorite !== undefined && filters.favorite !== null && filters.favorite !== '') {
|
||||
query += ' AND favorite = ?';
|
||||
params.push(Number(filters.favorite) ? 1 : 0);
|
||||
}
|
||||
|
||||
// 排序
|
||||
query += ' ORDER BY created_at DESC';
|
||||
|
||||
|
||||
Reference in new issue
Block a user