diff --git a/README.md b/README.md
index 1478977..a865287 100644
--- a/README.md
+++ b/README.md
@@ -66,9 +66,23 @@ novel-admin :平台后台管理系统源码(独立项目,按需安装)

- 4.其他功能开发中。。。
+ 3.小说管理页面。
+ 
+ 4.小说发布页面。
+
+ 
+
+ 5.小说章节发布页面
+
+ 
+
+ 6.小说章节管理页面。
+
+ 
+
+
#### 微信小程序截图
diff --git a/assets/chapter_manager.png b/assets/chapter_manager.png
new file mode 100644
index 0000000..80913ce
Binary files /dev/null and b/assets/chapter_manager.png differ
diff --git a/assets/chapter_pub.png b/assets/chapter_pub.png
new file mode 100644
index 0000000..8b037c9
Binary files /dev/null and b/assets/chapter_pub.png differ
diff --git a/assets/novel_list.png b/assets/novel_list.png
new file mode 100644
index 0000000..e7f9274
Binary files /dev/null and b/assets/novel_list.png differ
diff --git a/assets/novel_pub.png b/assets/novel_pub.png
new file mode 100644
index 0000000..b20f3c0
Binary files /dev/null and b/assets/novel_pub.png differ
diff --git a/novel-admin/src/main/resources/application.yml b/novel-admin/src/main/resources/application.yml
index cd945a7..8c22c88 100644
--- a/novel-admin/src/main/resources/application.yml
+++ b/novel-admin/src/main/resources/application.yml
@@ -35,9 +35,9 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
- username: books
- password: books
+ url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+ username: root
+ password: test123456
#password:
initialSize: 1
minIdle: 3
diff --git a/novel-admin/src/main/resources/static/wangEditor/.eslintignore b/novel-admin/src/main/resources/static/wangEditor/.eslintignore
new file mode 100644
index 0000000..c02d109
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/.eslintignore
@@ -0,0 +1,2 @@
+src/js/util/ierange.js
+src/js/util/poly-fill.js
\ No newline at end of file
diff --git a/novel-admin/src/main/resources/static/wangEditor/.eslintrc.json b/novel-admin/src/main/resources/static/wangEditor/.eslintrc.json
new file mode 100644
index 0000000..0148b38
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/.eslintrc.json
@@ -0,0 +1,38 @@
+{
+ "env": {
+ "browser": true,
+ "commonjs": true,
+ "es6": true
+ },
+ "globals": {
+ "ENV": true
+ },
+ "extends": "eslint:recommended",
+ "parserOptions": {
+ "sourceType": "module"
+ },
+ "rules": {
+ "no-console":0,
+ "indent": [
+ "error",
+ 4
+ ],
+ "linebreak-style": [
+ "error",
+ "unix"
+ ],
+ "quotes": [
+ "error",
+ "single",
+ {
+ "allowTemplateLiterals": true
+ }
+ ],
+ "semi": [
+ "error",
+ "never"
+ ],
+ "no-unused-vars": 0,
+ "no-debugger": 0
+ }
+}
\ No newline at end of file
diff --git a/novel-admin/src/main/resources/static/wangEditor/.gitattributes b/novel-admin/src/main/resources/static/wangEditor/.gitattributes
new file mode 100644
index 0000000..412eeda
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/.gitattributes
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
diff --git a/novel-admin/src/main/resources/static/wangEditor/.gitignore b/novel-admin/src/main/resources/static/wangEditor/.gitignore
new file mode 100644
index 0000000..481571c
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/.gitignore
@@ -0,0 +1,51 @@
+
+#忽略
+**/node_modules/*
+node_modules/*
+npm-debug.log
+example/upload-files
+
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# =========================
+# Operating System Files
+# =========================
+
+# OSX
+# =========================
+
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+
+# Thumbnails
+._*
+
+# Files that might appear on external disk
+.Spotlight-V100
+.Trashes
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
diff --git a/novel-admin/src/main/resources/static/wangEditor/.npmignore b/novel-admin/src/main/resources/static/wangEditor/.npmignore
new file mode 100644
index 0000000..333dd25
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/.npmignore
@@ -0,0 +1,5 @@
+node_modules/*
+npm-debug.log
+docs/*
+src/*
+example/*
\ No newline at end of file
diff --git a/novel-admin/src/main/resources/static/wangEditor/ISSUE.md b/novel-admin/src/main/resources/static/wangEditor/ISSUE.md
new file mode 100644
index 0000000..796cbee
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/ISSUE.md
@@ -0,0 +1,157 @@
+# 问题记录
+
+## 版本修复
+
+### v3.0.1
+
+- [done] 如何设置自动增加高度(补充文档)
+- [done] src/js/editor/Bar 改为 Progress,仅供上传图片使用
+- [done] Panel 在右上角增加一个“关闭”按钮
+- [done] 显示页面 table、quote、code 等样式,说明一下
+- [done] 增加自定义上传回调函数,用以自定义返回图片的格式
+- [done] 上传附带的参数,也加入到 form-data 中一份
+- [done] 编辑器默认情况下,菜单栏不能点击,必须focus了编辑器求之后才能点击
+- [done] 点击菜单弹出panel之后,再点击编辑器区域其他地方,panel不消失
+- [done] 自定义filename,v2版本就有
+- [done] ff 中的 bug
+- [done] ff 中粘贴图片和文字出现问题 https://github.com/wangfupeng1988/wangEditor/issues/609
+- [done] 火狐浏览器下,创建表格,编辑表格内容时,会出现两个控制点(有人提供了解决方案)
+- [done] 配置最多上传的文件个数
+- [done] 连续给两段内容 添加有/无序列表时,样式会出问题,且其他内容找不到了,并且编辑器不处于编辑状态。
+- [done] onchange
+- [done] IE11下面一直报错。并且表格无法正常使用
+
+### v3.0.2
+
+- [done] 用 onchange 完善 vue react 的 demo
+- [done] 插入图片之后,光标移动到图片的前面,然后回车,图片消失,并且不能撤销
+- [done] 修复上传图片 customInsert 无效的bug
+- [done] 编辑区域 z-index 可配置
+- [done] 上传图片不应该把状态码限制在 200,而是 2xx
+- [done] editor.txt.html() 之后,没有定位光标位置
+
+### v3.0.3
+
+- [done] 粘贴图片在低版本的谷歌浏览器中无法使用,提示验证图片未通过,undefined不是图片。
+- [done] 动态赋值内容,会自动换行,因为给自动加了`
`
+- [done] 不选中任何内容,点击“加粗”报错:Failed to execute 'setEnd' on 'Range'
+- [done] toolbar 小图标的 z-index 可配置
+
+### v3.0.4
+
+- [done] 允许使用者通过`replace`实现多语言
+- [done] `_alert()`,可自定义配置提示框
+- [done] 支持用户自定义上传图片的事件,如用户要上传到七牛云、阿里云
+
+### v3.0.5
+
+- [done] 图片上传中,insertLinkImg 方法中,去掉 img.onload 之后再插入的逻辑吧,这样会打乱多个图片的顺序
+- [done] `` 标签重叠问题,两行文字都是`h2`,然后将第一行选中设置为`h1`,结果是 `测试1
测试2
`
+- [done] 补充 ng 集成的示例 https://github.com/wangfupeng1988/wangEditor/issues/859
+- [done] 菜单不能折叠的说明,加入到文档中
+- [done] 上传图片 before 函数中,增加一个判断,可以让用户终止图片的上传
+
+### v3.0.6
+
+- [done] src/fonts 中的字体文件名改一下,用 icomoon 容易发生冲突
+- [done] 将禁用编辑器的操作完善到文档中 https://www.kancloud.cn/wangfupeng/wangeditor3/368562
+- [done] 开放表格中的粘贴功能(之前因不明问题而封闭)
+- [done] 代码块中,光标定位到最后位置时,连续两次回车要跳出代码块
+
+### v3.0.7
+
+- [done] 紧急修复上一个版本导致的菜单图标不显示的 bug
+
+### v3.0.8
+
+- [done] 修复 backColor 和 foreColor 代码文件名混淆的问题
+- [done] 修改 IE 中 “引用” 的功能
+- [done] 增加粘贴过滤样式的可配置
+- [done] 修复 IE 粘贴文字的问题
+
+### v3.0.9
+
+- [done] config 中,上传图片的 token 注视掉
+- [done] 将一些常见 API 开放,写到文档中 https://www.kancloud.cn/wangfupeng/wangeditor3/404586
+- [done] IE 火狐 插入多行代码有问题
+- [done] 粘贴时,在``中,不能只粘贴纯文本,还得要图片
+- [done] 粘贴内容中,过滤掉``注释
+- [done] **支持上传七牛云存储**
+
+### v3.0.10
+
+- [done] 支持插入网络图片的回调函数
+- [done] 插入链接时候的格式校验
+- [done] 支持拖拽上传
+
+### v3.0.11
+
+- [done] 如何用 textarea 创建编辑器,完善到文档中,许多人提问
+- [done] 修复`editor.customConfig.customUploadImg`不触发的 bug
+- [done] 修复有序列表和无序列表切换时 onchange 不触发的 bug
+
+### v3.0.12
+
+- [done] 增加 onfocus 和 onblur (感谢 [hold-baby](https://github.com/hold-baby) 提交的 [PR](https://github.com/wangfupeng1988/wangEditor/pull/1076))
+- [done] 上传的自定义参数`editor.customConfig.uploadImgParams`是否拼接到 url 中,支持可配置
+- [done] onchange 触发的延迟时间,支持可配置
+
+### v3.0.13
+
+- [done] 修复图片 选中/取消选中 时,触发 onchange 的问题
+- [done] 修复只通过 length 判断 onchange 是否触发的问题
+- [done] 增加插入网络图片的校验函数
+- [done] 增加自定义处理粘贴文本的事件
+- [done] 修复选中一个图片时点击删除键会误删除其他内容的 bug
+- [done] 修复 window chrome 中“复制图片”然后粘贴图片,会粘贴为两张的 bug
+- [done] 修复无法撤销“引用”的问题
+
+### v3.0.14
+
+- [done] 可以配置前景色、背景色
+- [done] 回车时无法从`
....
`中跳出
+- [done] 增加获取 JSON 格式内容的 API
+
+### v3.0.15
+
+- [done] 表情兼容图片和 emoji ,都可自定义配置
+
+### v3.0.16
+
+- [done] 修复粘贴图片的 bug
+- [done] 修复`pasteTextHandle`执行两次的问题
+- [done] 修复插入链接时,文字和链接为空时,`linkCheck`不执行的 bug
+- [done] 粘贴 html 时,过滤掉其中的`data-xxx`属性
+- [done] 修复中文输入法输入过程中出发 onchange 的问题,感谢 [github.com/CongAn](https://github.com/CongAn) PR
+- [done] `editor.txt.html`和`editor.txt.text`中,替换``字符为空字符串
+- [done] 精确图片大小计算,将`maxSize / 1000 / 1000`改为`maxSize / 1024 / 1024`
+- [done] 修复 droplist 类型菜单(颜色、背景色等)点击不准确的问题
+
+### v3.0.17
+
+- [done] 合并 pr [菜单和编辑区域分离 onfocus onblur 失效bug](https://github.com/wangfupeng1988/wangEditor/pull/1174) ,感谢 [hold-baby](https://github.com/hold-baby) 提供 pr
+- [done] 使用`document.execCommand("styleWithCSS", null, true)`,这样设置字体颜色就会用 css 而不是用``
+
+
+### 近期计划解决
+
+- 撤销的兼容性问题(会误伤其他编辑器或者 input textarea 等),考虑用 onchange 记录 undo 和 redo 的内容(但是得考虑直接修改 dom 的情况,如 quote code img list table 菜单)
+ - 列表撤销会删除一行?https://github.com/wangfupeng1988/wangEditor/issues/1131
+ - 页面中有 input 等输入标签时,undo redo 会误伤 https://github.com/wangfupeng1988/wangEditor/issues/1024
+ - 两个编辑器 undo 的问题 https://github.com/wangfupeng1988/wangEditor/issues/1010
+ - list undo redo 有问题。选中几行,先设置有序列表,再设置无序列表,然后撤销,就能复现问题
+- 粘贴文字的样式问题(可暂时配置 `pasteTextHandle` 自行处理)
+ - 先输入文字,再粘贴 excel 表格,样式丢失 https://github.com/wangfupeng1988/wangEditor/issues/1000
+ - IE 11 直接输入文字会空一行在第二行出现内容 https://github.com/wangfupeng1988/wangEditor/issues/919
+ - windows 下 word excel 的粘贴,存在垃圾数据
+
+## 待排期
+
+- 调研 safari、IE 和ff中粘贴图片 https://github.com/wangfupeng1988/wangEditor/issues/831
+- 图片调整大小,表格调整的方式,是否用 toolbar 的方式?
+- 删除掉`./release`之后,执行`npm run release`会报错,原因是`fonts`文件没拷贝全,就要去替换`css`中的字体文件为`base64`格式,导致找不到文件。
+- 先点击'B'再输入内容这种形式,前期先支持 webkit 和 IE,火狐的支持后面再加上
+- 图片压缩 canvas https://github.com/think2011/localResizeIMG
+- github 徽章 https://github.com/EyreFree/GitHubBadgeIntroduction
+- 将代码在进行拆分,做到“每个程序只做一件事”,不要出现过长的代码文件。例如 `src/js/command/index.js` 和 `src/js/selection/index.js`
+
diff --git a/novel-admin/src/main/resources/static/wangEditor/LICENSE b/novel-admin/src/main/resources/static/wangEditor/LICENSE
new file mode 100644
index 0000000..5239660
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/LICENSE
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2017 王福朋
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
diff --git a/novel-admin/src/main/resources/static/wangEditor/README.md b/novel-admin/src/main/resources/static/wangEditor/README.md
new file mode 100644
index 0000000..0ab9445
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/README.md
@@ -0,0 +1,70 @@
+
+# wangEditor
+
+## 介绍
+
+**wangEditor** —— 轻量级 web 富文本编辑器,配置方便,使用简单。支持 IE10+ 浏览器。
+
+- 官网:[www.wangEditor.com](http://www.wangeditor.com/)
+- 文档:[www.kancloud.cn/wangfupeng/wangeditor3/332599](http://www.kancloud.cn/wangfupeng/wangeditor3/332599)
+- 源码:[github.com/wangfupeng1988/wangEditor](https://github.com/wangfupeng1988/wangEditor) (欢迎 star)
+
+
+
+*查看 v2 版本的代码和文档点击[这里](https://github.com/wangfupeng1988/wangEditor/tree/v2)*
+
+
+## 下载
+
+- 直接下载:[https://github.com/wangfupeng1988/wangEditor/releases](https://github.com/wangfupeng1988/wangEditor/releases)
+- 使用`npm`下载:`npm install wangeditor` (注意 `wangeditor` 全部是**小写字母**)
+- 使用`bower`下载:`bower install wangEditor` (前提保证电脑已安装了`bower`)
+- 使用CDN:[//unpkg.com/wangeditor/release/wangEditor.min.js](https://unpkg.com/wangeditor/release/wangEditor.min.js)
+
+
+## 使用
+
+```javascript
+var E = window.wangEditor
+var editor = new E('#div1')
+editor.create()
+```
+
+
+## 运行 demo
+
+- 下载源码 `git clone git@github.com:wangfupeng1988/wangEditor.git`
+- 安装或者升级最新版本 node(最低`v6.x.x`)
+- 进入目录,安装依赖包 `cd wangEditor && npm i`
+- 安装包完成之后,windows 用户运行`npm run win-example`,Mac 用户运行`npm run example`
+- 打开浏览器访问[localhost:3000/index.html](http://localhost:3000/index.html)
+- 用于 React、vue 或者 angular 可查阅[文档](http://www.kancloud.cn/wangfupeng/wangeditor3/332599)中[其他](https://www.kancloud.cn/wangfupeng/wangeditor3/335783)章节中的相关介绍
+
+## 交流
+
+### QQ 群
+
+以下 QQ 群欢迎加入交流问题(可能有些群已经满员)
+
+- 164999061
+- 281268320
+
+### 提问
+
+注意,作者只受理以下几种提问方式,其他方式直接忽略
+
+- 直接在 [github issues](https://github.com/wangfupeng1988/wangEditor/issues) 提交问题
+- 去[知乎](https://www.zhihu.com/)提问,并邀请[作者](https://www.zhihu.com/people/wang-fu-peng-54/activities)来回答
+- 去[segmentfault](https://segmentfault.com)提问,并邀请[作者](https://segmentfault.com/u/wangfupeng1988)来回答
+
+每次升级版本修复的问题记录在[这里](./ISSUE.md)
+
+## 关于作者
+
+- 关注作者的博客 - 《[深入理解javascript原型和闭包系列](http://www.cnblogs.com/wangfupeng1988/p/4001284.html)》《[深入理解javascript异步系列](https://github.com/wangfupeng1988/js-async-tutorial)》《[CSS知多少](http://www.cnblogs.com/wangfupeng1988/p/4325007.html)》
+- 学习作者的教程 - 《[前端JS基础面试题](http://coding.imooc.com/class/115.html)》《[React.js模拟大众点评webapp](http://coding.imooc.com/class/99.html)》《[zepto设计与源码分析](http://www.imooc.com/learn/745)》《[用grunt搭建自动化的web前端开发环境](http://study.163.com/course/courseMain.htm?courseId=1103003)》《[json2.js源码解读](http://study.163.com/course/courseMain.htm?courseId=691008)》
+
+如果你感觉有收获,欢迎给我打赏 ———— 以激励我更多输出优质开源内容
+
+
+
diff --git a/novel-admin/src/main/resources/static/wangEditor/bower.json b/novel-admin/src/main/resources/static/wangEditor/bower.json
new file mode 100644
index 0000000..0c4ed0d
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/bower.json
@@ -0,0 +1,20 @@
+{
+ "name": "wangEditor",
+ "description": "wangEditor - 基于javascript和css开发的 web 富文本编辑器, 轻量、简洁、易用、开源免费",
+ "main": "release/wangEditor.js",
+ "authors": [
+ "wangfupeng "
+ ],
+ "license": "MIT",
+ "keywords": [
+ "wangEditor",
+ "web 富文本编辑器"
+ ],
+ "homepage": "https://github.com/wangfupeng1988/wangEditor",
+ "moduleType": [
+ "amd",
+ "cmd",
+ "node"
+ ],
+ "private": true
+}
diff --git a/novel-admin/src/main/resources/static/wangEditor/docs/dev/README.md b/novel-admin/src/main/resources/static/wangEditor/docs/dev/README.md
new file mode 100644
index 0000000..473dbcb
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/docs/dev/README.md
@@ -0,0 +1,25 @@
+面向开发者的文档
+
+
+框架介绍
+
+- 下载和运行
+- 目录结构介绍
+- `example`目录
+- `src`目录(`js`目录,`less`目录)
+- `package.json`
+- `gulpfile.js`
+
+如何提交 PR
+
+
+
+上线
+
+- 修改`package.json`版本
+- 提交到github,并创建tag
+- 提交到 npm
+- 更新 .md 文档
+- 文档同步到 kancloud
+- ……
+
diff --git a/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/01-demo.md b/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/01-demo.md
new file mode 100644
index 0000000..b71612f
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/01-demo.md
@@ -0,0 +1,41 @@
+# 简单的 demo
+
+## 下载
+
+- 点击 [https://github.com/wangfupeng1988/wangEditor/releases](https://github.com/wangfupeng1988/wangEditor/releases) 下载最新版。进入`release`文件夹下找到`wangEditor.js`或者`wangEditor.min.js`即可
+- 使用CDN:[//unpkg.com/wangeditor/release/wangEditor.min.js](https://unpkg.com/wangeditor/release/wangEditor.min.js)
+- 使用`bower`下载:`bower install wangEditor` (前提保证电脑已安装了`bower`)
+
+*PS:支持`npm`安装,请参见后面的章节*
+
+## 制作 demo
+
+编辑器效果如下。
+
+
+
+代码示例如下。**注意,以下代码中无需引用任何 CSS 文件!!!**
+
+```html
+
+
+
+
+ wangEditor demo
+
+
+
+
欢迎使用 wangEditor 富文本编辑器
+
+
+
+
+
+
+
+```
diff --git a/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/02-use-module.md b/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/02-use-module.md
new file mode 100644
index 0000000..0356a68
--- /dev/null
+++ b/novel-admin/src/main/resources/static/wangEditor/docs/usage/01-getstart/02-use-module.md
@@ -0,0 +1,49 @@
+# 使用模块定义
+
+wangEditor 除了直接使用`
+