diff --git a/README.md b/README.md index a865287..615596e 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,13 @@ novel-admin :平台后台管理系统源码(独立项目,按需安装) 1. 修改application.yml文件中数据库配置。 -2. 启动程序,登录后台系统,运行爬虫程序爬取小说数据。 +2. 修改application.yml文件中Redis配置。 + +3. 修改application.yml文件中文件上传路径配置。 + + ![](./assets/upload_config.png) + +4. 启动程序,登录后台系统,运行爬虫程序爬取小说数据。 ![](./assets/crawl_pic.png) diff --git a/assets/upload_config.png b/assets/upload_config.png new file mode 100644 index 0000000..e5b6975 Binary files /dev/null and b/assets/upload_config.png differ diff --git a/novel-admin/pom.xml b/novel-admin/pom.xml index 2eabf75..8aff651 100644 --- a/novel-admin/pom.xml +++ b/novel-admin/pom.xml @@ -6,7 +6,7 @@ com.java2nb novel-admin - 1.0.0 + 2.0.1 org.springframework.boot spring-boot-starter-parent diff --git a/novel-admin/src/main/resources/application.yml b/novel-admin/src/main/resources/application.yml index 8c22c88..f8b7f5d 100644 --- a/novel-admin/src/main/resources/application.yml +++ b/novel-admin/src/main/resources/application.yml @@ -1,5 +1,5 @@ java2nb: - uploadPath: c:/var/java2nb/uploaded_files/ + uploadPath: /var/java2nb/uploaded_files/ username: admin password: 111111 diff --git a/novel-admin/src/main/resources/static/js/appjs/books/book/book.js b/novel-admin/src/main/resources/static/js/appjs/books/book/book.js index 47bf835..5ddcbd3 100644 --- a/novel-admin/src/main/resources/static/js/appjs/books/book/book.js +++ b/novel-admin/src/main/resources/static/js/appjs/books/book/book.js @@ -113,9 +113,9 @@ function load() { field: 'id', align: 'center', formatter: function (value, row, index) { - var d = '详情
'; + + '\')">详情
';*/ /*var e = '编辑
';*/ @@ -128,7 +128,7 @@ function load() { var cm = '章节管理 '; - return d + r + p +cm; + return r + p +cm; } }] }); diff --git a/novel-front/pom.xml b/novel-front/pom.xml index 16554a8..45c48a0 100644 --- a/novel-front/pom.xml +++ b/novel-front/pom.xml @@ -10,7 +10,7 @@
xyz.zinglizingli novel-front - 2.0.0 + 2.0.1 novel-front 小说精品楼-前台web网站 diff --git a/novel-front/src/main/resources/application.yml b/novel-front/src/main/resources/application.yml index 0b8e9a1..6723f4e 100644 --- a/novel-front/src/main/resources/application.yml +++ b/novel-front/src/main/resources/application.yml @@ -7,8 +7,8 @@ spring: # username: xiongxiaoyang # password: Lzslov123! url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai - username: root - password: test123456 + username: books + password: books cache: ehcache: config: classpath:ehcache.xml