wangfei 6 年 前
コミット
8b5215620e
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2
    1
      service/book/book.go

+ 2
- 1
service/book/book.go ファイルの表示

@@ -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 {