# spring-blog **Repository Path**: luckhwb/spring-blog ## Basic Information - **Project Name**: spring-blog - **Description**: 此项目主要用于学习,通过spring-boot框架搭建,集成mybatis,freemarker,rabbitmq,redis,xxljob等框架,技术方面如:登录拦截器,jdk动态代理,支付宝沙箱环境支付等,后续会继续更新。学无止境! - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: http://luckwml.top/ - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-09-06 - **Last Updated**: 2021-07-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot ``` spring-boot:整合mvc,mybatis,freemarker,rabbitMq,redis,xxl-job,email 项目的数据库:luck.sql ``` --luck --api 接口 --config 配置登录拦截器 --dao 数据访问 --email 发送邮件(普通邮件 / html / 模板) --model 对象 -- dto 抽象对象 -- po 持久对象(与db table 属性一一对应) -- pojo 其他 --rabbit 操作rabbit mq(普通消息 / 延时消息) --redis 操作redis(string / list) --service 业务处理 --timing 定时 --util 公共类,配置信息 --xxlJob 任务调度 ``` 如使用xxljob请参考上面的官方文档(http://www.xuxueli.com/xxl-job/#/?id=%E3%80%8A%E5%88%86%E5%B8%83%E5%BC%8F%E4%BB%BB%E5%8A%A1%E8%B0%83%E5%BA%A6%E5%B9%B3%E5%8F%B0xxl-job%E3%80%8B), 首先需要初始化数据库,然后下载,配置,运行任务调度控制台(xxl-admin). xxl.war 任务调度管理中心(此war包数据库配置信息: spring.datasource.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=utf-8 spring.datasource.username=root spring.datasource.password=123456(初始化数据库:https://github.com/xuxueli/xxl-job/blob/master/doc/db/tables_xxl_job.sql) 然后部署在tomcat通过tomcat端口 + war包名(如:http://localhost:8080/xxl/),账户密码admin,123456. ) ```