优化首页显示(修改周推小说数量)

This commit is contained in:
xiongxiaoyang 2021-02-11 18:03:27 +08:00
parent 83eda2a44d
commit 419d7a971b
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ public class Constants {
/**
* 首页设置的小说数量
* */
public static final int INDEX_BOOK_SETTING_NUM = 32;
public static final int INDEX_BOOK_SETTING_NUM = 31;
/**
* 累积的最大点击量

View File

@ -126,9 +126,9 @@ public class BookServiceImpl implements BookService {
type = 0;
} else if (i < 14) {
type = 1;
} else if (i < 20) {
} else if (i < 19) {
type = 2;
} else if (i < 26) {
} else if (i < 25) {
type = 3;
} else {
type = 4;