|
@@ -40,7 +40,7 @@ func (s *BookServ) GetBookRecommendList(caseid string, page, pageSize int) (map[
|
40
|
40
|
}, nil
|
41
|
41
|
}
|
42
|
42
|
|
43
|
|
-func (s *BookServ) GetBooKList(bookType, caseid string, page, pageSize int) (map[string]interface{}, error) {
|
|
43
|
+func (s *BookServ) GetBookList(bookType, caseid string, page, pageSize int) (map[string]interface{}, error) {
|
44
|
44
|
if pageSize == 0 {
|
45
|
45
|
pageSize = service.PAGENUM
|
46
|
46
|
}
|
|
@@ -61,6 +61,7 @@ func (s *BookServ) GetBooKList(bookType, caseid string, page, pageSize int) (map
|
61
|
61
|
"page": page,
|
62
|
62
|
}, nil
|
63
|
63
|
}
|
|
64
|
+
|
64
|
65
|
func (s *BookServ) GetBookById(bookId string) (*model.TaBook, error) {
|
65
|
66
|
book, err := s.dao.GetBookById(bookId)
|
66
|
67
|
if err != nil {
|