增加文件列表参数

This commit is contained in:
TinyAnts 2022-04-18 16:13:58 +08:00
parent dbae2a702b
commit 099209c484
1 changed files with 1 additions and 1 deletions

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")));
}