1
0

feat: 增加爬虫案例

This commit is contained in:
2025-11-01 10:11:36 +08:00
parent ccd0767194
commit 77cbf36524
6 changed files with 291 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ public class Book extends SimpleEntity {
@Column(nullable = false)
private String name;
private String author;
@Column(columnDefinition = "text")
private String description;
private String source;
@ElementCollection(fetch = FetchType.EAGER)

View File

@@ -40,7 +40,6 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
public class Chapter extends SimpleEntity {
@Column(nullable = false)
private Double sequence;
@Column(nullable = false)
private String name;
private String description;

View File

@@ -0,0 +1,13 @@
package com.lanyuanxiaoyao.bookstore.service;
import org.springframework.stereotype.Service;
/**
* 书籍下载
*
* @author lanyuanxiaoyao
* @version 20251031
*/
@Service
public class CrawlerService {
}