Skip to content

Commit

Permalink
v2.0.1发布,文档更新
Browse files Browse the repository at this point in the history
  • Loading branch information
x201206030 committed Nov 20, 2019
1 parent 2b58e4e commit 53d1693
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Binary file added assets/upload_config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion novel-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.java2nb</groupId>
<artifactId>novel-admin</artifactId>
<version>1.0.0</version>
<version>2.0.1</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion novel-admin/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
java2nb:
uploadPath: c:/var/java2nb/uploaded_files/
uploadPath: /var/java2nb/uploaded_files/
username: admin
password: 111111

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ function load() {
field: 'id',
align: 'center',
formatter: function (value, row, index) {
var d = '<a class="btn" style="color: #0a6aa1" href="#" mce_href="#" title="详情" onclick="detail(\''
/* var d = '<a class="btn" style="color: #0a6aa1" href="#" mce_href="#" title="详情" onclick="detail(\''
+ row.id
+ '\')">详情</a> <br/>';
+ '\')">详情</a> <br/>';*/
/*var e = '<a class="btn" style="color: #0a6aa1" href="#" mce_href="#" title="编辑" onclick="edit(\''
+ row.id
+ '\')">编辑</a><br/> ';*/
Expand All @@ -128,7 +128,7 @@ function load() {
var cm = '<a class="btn" style="color: #0a6aa1" href="#" mce_href="#" title="章节管理" onclick="manageIndex(\''
+ row.id
+ '\')">章节管理</a> ';
return d + r + p +cm;
return r + p +cm;
}
}]
});
Expand Down
2 changes: 1 addition & 1 deletion novel-front/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>xyz.zinglizingli</groupId>
<artifactId>novel-front</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>novel-front</name>
<description>小说精品楼-前台web网站</description>

Expand Down
4 changes: 2 additions & 2 deletions novel-front/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53d1693

Please sign in to comment.