diff --git a/README.md b/README.md index 0002661f33abd8bf579d88404f2e8e63178eca26..082b8881cc96e43dae5321f17db3598741d757dc 100644 --- a/README.md +++ b/README.md @@ -63,22 +63,19 @@ 15. 新增标签页 16. 新增注册邮箱验证开关(需要手动删除之前的 mto_security_code 表) -### 图片演示 -![首页](https://images.gitee.com/uploads/images/2019/0125/142627_fcd67bfd_116277.jpeg "前台首页.jpg") -![文章](https://images.gitee.com/uploads/images/2019/0125/142647_328aa3d7_116277.jpeg "文章阅读.jpg") -![后台](https://images.gitee.com/uploads/images/2019/0125/142704_cca6a479_116277.jpeg "后台首页.jpg") -![后台文章管理](https://images.gitee.com/uploads/images/2019/0125/142725_3754efbf_116277.jpeg "后台文章编辑.jpg") - -图片来自@weian豆丁 - -### 这些用户在使用mblog(如需要在此展示您的博客请联系作者): -[https://www.lyp82nlf.com/](https://www.lyp82nlf.com/) - -[http://www.outshine.cn/](http://www.outshine.cn/) - -[http://www.jiangxindc.com](http://www.jiangxindc.com) - -[http://www.mhtclub.com/](http://www.mhtclub.com/) - -[http://www.maocaoying.com/](http://www.maocaoying.com/) +### ✔ PC端 +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175116_449ed877_1758849.jpeg "1.jpg") +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175353_6185e4f1_1758849.jpeg "2.jpg") +### ✔ 后台支持切换多主题 +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175438_f3bf5604_1758849.jpeg "3.jpg") +### ✔ 支持响应式 +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175505_86e7a9d0_1758849.jpeg "4.jpg") +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175555_7c74ef37_1758849.jpeg "5.jpg") +### ✔ PC端多样化主题 +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175618_4cc45d39_1758849.jpeg "6.jpg") +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175658_78ebdc6e_1758849.jpeg "7.jpg") +![输入图片说明](https://images.gitee.com/uploads/images/2019/0414/175717_46fc1496_1758849.jpeg "8.jpg") +- 文档: [说明文档](https://langhsu.github.io/mblog/#/) +- 官网: [官网地址](http://www.mtons.com) +- QQ交流群:378433412 \ No newline at end of file diff --git a/src/main/java/com/mtons/mblog/modules/entity/Comment.java b/src/main/java/com/mtons/mblog/modules/entity/Comment.java index 82ed28015dd600e4f9b786e541ef98249c7a3c0e..249047fc4306ce4a4b18f3d8264875114e09a8fb 100644 --- a/src/main/java/com/mtons/mblog/modules/entity/Comment.java +++ b/src/main/java/com/mtons/mblog/modules/entity/Comment.java @@ -19,7 +19,7 @@ import java.util.Date; */ @Entity @Table(name = "mto_comment", indexes = { - @Index(name = "IK_POST_ID", columnList = "post_id") + @Index(name = "IK_COMMENT_POST_ID", columnList = "post_id") }) public class Comment { @Id diff --git a/src/main/java/com/mtons/mblog/modules/entity/PostResource.java b/src/main/java/com/mtons/mblog/modules/entity/PostResource.java index 0a42a066cb1933971ad58d7ce447c0042b434f6c..519af3a0c00eb6844792e1aed42061a29a4d3d49 100644 --- a/src/main/java/com/mtons/mblog/modules/entity/PostResource.java +++ b/src/main/java/com/mtons/mblog/modules/entity/PostResource.java @@ -13,7 +13,7 @@ import java.io.Serializable; @Data @Entity @Table(name = "mto_post_resource", indexes = { - @Index(name = "IK_POST_ID", columnList = "post_id") + @Index(name = "IK_RESOURCE_POST_ID", columnList = "post_id") }) public class PostResource implements Serializable { private static final long serialVersionUID = -2343406058301647253L;