摘要: 1、@Api 用在类上,说明该类的作用。 @Api(tags = "BsFieldController",description = "Field相关接口") 2、@ApiOperation 用在方法上,说明方法的作用 @ApiOperation(value = "BsField条件分页查询",no 阅读全文
posted @ 2020-07-29 12:18 songjn 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 1、swagger常用注解说明 https://www.cnblogs.com/songjn/p/13396392.html 2、pom.xml中引用依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagg 阅读全文
posted @ 2020-07-29 12:13 songjn 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1、添加依赖,依赖日志和web(界面用web) <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.10</version> </dependency> <dependency 阅读全文
posted @ 2020-07-29 10:58 songjn 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1、git config 命令的作用是配置git的相关信息 设置用户名:git config --global user.name "name" 设置用户邮箱:git config --global user.email "eamil" 查看git所有配置信息:git config --list 查 阅读全文
posted @ 2020-07-29 10:19 songjn 阅读(86) 评论(0) 推荐(0) 编辑