//小人

06 2020 档案

摘要:1.pom.xml引入mybatis-plus协议 <!-- mybatisPlus 核心库 --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <ve 阅读全文
posted @ 2020-06-29 15:18 H_Q 阅读(200) 评论(0) 推荐(0) 编辑
摘要:1.idea安装mybatis-generator插件 2.在pom.xml引入协议 <dependencies> <!-- Mybatis 生成工具 --> <dependency> <groupId>org.mybatis.generator</groupId> <artifactId>myba 阅读全文
posted @ 2020-06-29 14:41 H_Q 阅读(316) 评论(0) 推荐(0) 编辑
摘要:Swagger2注解: 1.@Api:标记类 例:@Api(value="测试类",tags="测试类") 2.@ApiOperation:标记方法 例:@ApiOperation(value="测试方法",tags="测试方法") 3.@ApiImplicitParam:用来描述单个参数 例:@A 阅读全文
posted @ 2020-06-27 13:05 H_Q 阅读(311) 评论(0) 推荐(0) 编辑
摘要:restful简称rest: rest是以资源为中心,使用统一的接口url,使用get,post,put,patch,delete等方法来请求资源 rest风格原则条件: C/S结构, 无状态:web应用程序最重要的rest原则是,客户端和服务的之间的交互在请求之间是无状态的。 可以cache(缓存 阅读全文
posted @ 2020-06-21 20:04 H_Q 阅读(505) 评论(0) 推荐(0) 编辑
摘要:1.在git上创建项目 2.创建文件夹,在文件夹内右键文件夹 git bash here 3.初始化 本地仓库(会在文件夹生成一个.git隐藏文件夹) git init 4.克隆项目 git clone 项目地址 5.获取指定分支的项目 git clone -b 分支名 仓库地址 5.将需要上传的文 阅读全文
posted @ 2020-06-21 12:32 H_Q 阅读(271) 评论(0) 推荐(0) 编辑
摘要:有时候maven下载的jar包不全就会变成.lastUpdated后缀的文件,这样的jar包不能用一直报错, 在maven仓库文件夹打开cmd窗口运行命令删除后缀为.lastUpdated的文件,在重新下载jar for /r %i in (*.lastUpdated) do del %i 阅读全文
posted @ 2020-06-21 10:53 H_Q 阅读(193) 评论(0) 推荐(0) 编辑
摘要:再resources文件夹下增加 banner.txt 文件 内容: ${AnsiColor.BRIGHT_BLUE} ___________ _________ __ .__ .__ \__ ___/__.__.______ ____ / _____/ ____ _____ _____/ |_| 阅读全文
posted @ 2020-06-10 10:56 H_Q 阅读(1294) 评论(0) 推荐(0) 编辑
摘要:File file = new File("文件路径"); FileInputStream inputStream=null; ByteArrayOutputStream bytOutputStream=null; try { //输入流 inputStream = new FileInputStr 阅读全文
posted @ 2020-06-03 13:27 H_Q 阅读(700) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示