mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-20 17:16:09 +08:00
增加文件列表参数
This commit is contained in:
@@ -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")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user