feat: 增加爬虫案例
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.lanyuanxiaoyao.bookstore.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 书籍下载
|
||||
*
|
||||
* @author lanyuanxiaoyao
|
||||
* @version 20251031
|
||||
*/
|
||||
@Service
|
||||
public class CrawlerService {
|
||||
}
|
||||
Reference in New Issue
Block a user