修复参数bug

This commit is contained in:
xierz 2020-12-02 18:18:09 +08:00
parent dba5100257
commit 871245eef5
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class MCmsAction extends net.mingsoft.cms.action.BaseAction {
//获取栏目信息 //获取栏目信息
int typeId = 0; int typeId = 0;
String categoryIds = BasicUtil.getString("categoryId"); String categoryIds = BasicUtil.getString("categoryIds");
//当传递了栏目编号但不是栏目集合 //当传递了栏目编号但不是栏目集合
if (StringUtils.isNotBlank(categoryIds) && !categoryIds.contains(",")) { if (StringUtils.isNotBlank(categoryIds) && !categoryIds.contains(",")) {
typeId = Integer.parseInt(categoryIds); typeId = Integer.parseInt(categoryIds);