Browse Source

处理默认资源

john 7 months ago
parent
commit
868449939c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      epub_node/router/epub/index.js

+ 2 - 2
epub_node/router/epub/index.js

@@ -162,7 +162,7 @@ router.put("/", async function (req, res) {
       4、存储css数据
       5、存储章节数据
      */
-    /*await saveMateInfo(epub, uploadPath, file_md5, author_id)
+    await saveMateInfo(epub, uploadPath, file_md5, author_id)
     logger.info('书籍的基础数据处理完毕')
     await saveImgs(epub, uploadPath, file_md5, author_id);
     logger.info('书籍的图片数据处理完毕')
@@ -172,7 +172,7 @@ router.put("/", async function (req, res) {
     logger.info('书籍的css数据处理完毕')
     // 存储html数据
     await htmlParser(epub, zipEpubExtract, file_md5, author_id);
-    logger.info('书籍的章节数据处理完毕')*/
+    logger.info('书籍的章节数据处理完毕')
     // 章节数据
     await saveToc(epub, zipEpubExtract, file_md5, author_id);
     logger.info('书籍的目录处理完毕')