增加文件列表参数

This commit is contained in:
TinyAnts
2022-04-18 16:13:58 +08:00
parent dbae2a702b
commit 099209c484

View File

@@ -62,7 +62,7 @@ public class AlbumServiceImpl implements IAlbumService {
.eq("is_delete", 0)
.orderByDesc("id");
if (params.get("cid") != null) {
if (params.get("cid") != null && Integer.parseInt(params.get("cid")) >= 0) {
queryWrapper.eq("cid", Integer.parseInt(params.get("cid")));
}