提交 1eebfc9c authored 作者: 吴德鹏's avatar 吴德鹏

改成置顶300个商品

上级 ccdfad38
......@@ -241,7 +241,7 @@ public class TbCfStationItemController extends ApiBaseAction {
} else if (res == -1) {
return R.error("该商品已下架,不能置顶");
} else if (res == -2) {
return R.error("最多置顶96个商品");
return R.error("最多置顶300个商品");
}
return R.error("置顶失败");
}
......
......@@ -487,7 +487,7 @@ public class TbCfStationItemServiceImpl implements TbCfStationItemService {
return -1;
}
int topCount = tbCfStationItemDao.queryTopCount();
if (topCount >= 96) {
if (topCount >= 300) {
return -2;
}
item.setItemTop(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论