摘要:
1、list集合中的对象实现Comparable接口public class User implements Comparable{private Integer id;/** * 用户名 */private String userName;/** * 年龄 */private Integer age;@Overridepublic int compareTo(User o) { ... 阅读全文
摘要:
1、引入依赖 io.springfox springfox-swagger-ui 2.7.0 io.springfox springfox-swagger2 2.7.0 2、创建swagger配置类import org.springframework.context.annotation.Bean;import org.springframework.conte... 阅读全文