基于javaweb+SpringBoot+MyBatis个人博客管理系统
开发工具:eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
#{blogTags,jdbcType=VARCHAR}, #{blogStatus,jdbcType=TINYINT}, #{blogViews,jdbcType=BIGINT},
#{enableComment,jdbcType=TINYINT}, #{isDeleted,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{blogContent,jdbcType=LONGVARCHAR})
insert>
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="blogId"
parameterType="com.demo.entity.Blog">
insert into tb_blog
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="blogId != null">
blog_id,
if>
<if test="blogTitle != null">
blog_title,
var infoDialog = this.infoDialog = editor.children("." + this.classPrefix + "dialog-info");
if (infoDialog.length < 1)
{
this.createInfoDialog();
}
this.lockScreen(true);
this.mask.css({
opacity : settings.dialogMaskOpacity,
backgroundColor : settings.dialogMaskBgColor
}).show();
infoDialog.css("z-index", editormd.dialogZindex).show();
this.infoDialogPosition();
return this;
;(function(factory) {
"use strict";
// CommonJS/Node.js
if (typeof require === "function" && typeof exports === "object" && typeof module === "object")
{
module.exports = factory;
}
else if (typeof define === "function") // AMD/CMD/Sea.js
{
if (define.amd) // for Require.js
{
/* Require.js define replace */
}
else
{
define(["jquery"], factory); // for Sea.js
}
Mixed
a>
li>
ul>
li>
<li class="chapter " data-level="1.6" data-path="../axes/">
<a href="../axes/">
Axes
a>
return ResultGenerator.genFailResult("验证码错误");
}
String ref = request.getHeader("Referer");
if (StringUtils.isEmpty(ref)) {
return ResultGenerator.genFailResult("非法请求");
}
if (null == blogId || blogId < 0) {
return ResultGenerator.genFailResult("非法请求");
}
if (StringUtils.isEmpty(commentator)) {
return ResultGenerator.genFailResult("请输入称呼");
}
if (StringUtils.isEmpty(email)) {
return ResultGenerator.genFailResult("请输入邮箱地址");
}
if (!PatternUtil.isEmail(email)) {
return ResultGenerator.genFailResult("请输入正确的邮箱地址");
}
if (StringUtils.isEmpty(commentBody)) {
return ResultGenerator.genFailResult("请输入评论内容");
}
if (commentBody.trim().length() > 200) {
return ResultGenerator.genFailResult("评论内容过长");
}
@Override
public PageResult getCommentsPage(PageQueryUtil pageUtil) {
List<BlogComment> comments = blogCommentMapper.findBlogCommentList(pageUtil);
int total = blogCommentMapper.getTotalBlogComments(pageUtil);
PageResult pageResult = new PageResult(comments, total, pageUtil.getLimit(), pageUtil.getPage());
return pageResult;
}
@Override
public int getTotalComments() {
return blogCommentMapper.getTotalBlogComments(null);
}
@Override
public Boolean checkDone(Integer[] ids) {
return blogCommentMapper.checkDone(ids) > 0;
}
@Override
public Boolean deleteBatch(Integer[] ids) {
return blogCommentMapper.deleteBatch(ids) > 0;
}
@Override
a>
li>
<li class="chapter " data-level="1.2" data-path="../getting-started/">
<a href="../getting-started/">
Getting Started
a>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0a> on Mon Jun 08 2015 01:07:40 GMT+0800 (中国标准时间)
footer>
<script> prettyPrint(); script>
<script src="scripts/linenumber.js"> script>
body>
html>
DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Tooltip · GitBooktitle>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
var weekDays = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
datefmt = weekDays[weekDay];
break;
case "day" :
case "dd" :
datefmt = day;
break;
case "hour" :
case "hh" :
datefmt = hour;
break;
case "min" :
case "ii" :
datefmt = min;
break;
case "second" :
case "ss" :
datefmt = second;
break;
case "ms" :
datefmt = ms;
break;
clear : "清空",
search : "搜索",
help : "使用帮助",
info : "关于" + editormd.title
},
buttons : {
enter : "确定",
cancel : "取消",
close : "关闭"
},
dialog : {
link : {
title : "添加链接",
url : "链接地址",
urlTitle : "链接标题",
urlEmpty : "错误:请填写链接地址。"
},
referenceLink : {
title : "添加引用链接",
name : "引用名称",
url : "链接地址",
urlId : "链接ID",
urlTitle : "链接标题",
nameEmpty: "错误:引用链接的名称不能为空。",
运行环境
Java≥8、MySQL≥5.7
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
技术框架
Springboot SpringMVC MyBatis ThymeLeaf HTML JavaScript JQuery Ajax maven
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
文章的发表,分类,评论,收搜索,后台管理的的文章新 增,分类新增,评论审核,标签管理,评论管理,分类管 理,博客管理,系统管理等等功能
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)