提交 cfe699a2 authored 作者: 任建彩's avatar 任建彩

feat:系列

1.resource
上级 0ae7c1fd
......@@ -267,11 +267,14 @@ public class RecommendResourceServiceImpl extends ServiceImpl<RecommendResourceM
//查询专题推荐位绑定数量
int bindCount = this.countProjectByRecommendCode(code);
if (bindCount <= num) {
if (bindCount > 2) {
num = bindCount;
/*if (bindCount > 2) {
num = bindCount - bindCount %2;
} else {
num = 2;
}
}*/
}else{
num = 2;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论