mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-05 08:46:38 +00:00
feat: 手机端我的书架页面适配
This commit is contained in:
@ -115,6 +115,14 @@ public class PageController extends BaseController {
|
||||
return ThreadLocalUtil.getTemplateDir() + "user/userinfo";
|
||||
}
|
||||
|
||||
/**
|
||||
* 我的书架页
|
||||
*/
|
||||
@RequestMapping("user/favorites.html")
|
||||
public String favorites() {
|
||||
return ThreadLocalUtil.getTemplateDir() + "user/favorites";
|
||||
}
|
||||
|
||||
/**
|
||||
* 作品页
|
||||
*/
|
||||
|
@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.java2nb.novel.entity.UserBookshelf;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
@ -19,9 +20,19 @@ public class BookShelfVO extends UserBookshelf {
|
||||
private String lastIndexName;
|
||||
private String bookName;
|
||||
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "MM/dd HH:mm:ss")
|
||||
|
||||
private String picUrl;
|
||||
|
||||
private Long authorId;
|
||||
|
||||
private String authorName;
|
||||
|
||||
private String bookDesc;
|
||||
|
||||
private Date lastIndexUpdateTime;
|
||||
|
||||
private Byte bookStatus;
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
Reference in New Issue
Block a user