摘要: <parent> <artifactId>microservice-cloud-01</artifactId> <groupId>com.mengxuegu.springcloud</groupId> <version>1.0-SNAPSHOT</version> <relativePath>../ 阅读全文
posted @ 2019-11-07 19:32 阿楠121397442 阅读(176) 评论(0) 推荐(0) 编辑
摘要: <parent> <artifactId>microservice-cloud-01</artifactId> <groupId>com.mengxuegu.springcloud</groupId> <version>1.0-SNAPSHOT</version> <relativePath>../ 阅读全文
posted @ 2019-11-07 19:30 阿楠121397442 阅读(125) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.d 阅读全文
posted @ 2019-11-07 19:29 阿楠121397442 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.RestTemplate是什么? RestTemplate是Spring对Http客户端进行封装的一个模板工具类,对常用的Http客户端例如:HttpClient、OKHttp、JDK原生的URLConnection(默认的)都支持。 2.RestTemplate能做什么? 基于Restful风 阅读全文
posted @ 2019-11-07 19:22 阿楠121397442 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 用eclipse来上传项目到github上,顺便总结一下操作步骤供以后用。 1、在www.github.com上注册自己的账号,然后登录进去,创建一个仓库 2、在eclipse中对自己的项目进行提交到本地仓库 步骤如下图: 第一步: 第二步: 第三步: 然后finish完成后,对项目进行提交,右击项 阅读全文
posted @ 2019-11-07 17:19 阿楠121397442 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1. IDEA整合GIT操作 1.1 配置Idea集成Git 1.2 在使用SSH key 创建公钥私钥,上传公钥到github (1)、点击开始菜单--》所有程序 》git选择 Git Bash 点击进入git命令行: (2)、输入命令,生成秘 ssh-keygen -t rsa ssh-keyg 阅读全文
posted @ 2019-11-06 21:42 阿楠121397442 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 1. 什么是Git Git是一款免费、开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。 Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 2. Git相关软件下载 Git的下载页面: https://git-scm.co 阅读全文
posted @ 2019-11-06 20:58 阿楠121397442 阅读(2102) 评论(0) 推荐(0) 编辑
摘要: 1.编程思路: 1.启动虚拟机,并加载redis (1)VMware Workstation Pro: (2)xshell加载redis 完成虚拟机的redis启动 2.springboot加载依赖,配置配置文件 redis配置文件 <dependency> <groupId>org.springf 阅读全文
posted @ 2019-11-06 11:24 阿楠121397442 阅读(162) 评论(0) 推荐(1) 编辑
摘要: 一. spring boot 整合mybatis 1.整合思路: 1.1 添加依赖 mybatis 1.2 在配置文件中配置数据源信息 1.3 编写pojo mapper接口 mapeer映射文件 1.4手动配置mybatis的包扫描,在主启动类添加@MapperScan 1.5 启动springb 阅读全文
posted @ 2019-11-05 20:45 阿楠121397442 阅读(762) 评论(0) 推荐(1) 编辑
摘要: spring的配置资源(包含mybatis): <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org 阅读全文
posted @ 2019-11-05 19:48 阿楠121397442 阅读(388) 评论(0) 推荐(1) 编辑