whycxzp
2021-04-16 e73e6f2c1c9d3169fd1ae4041f1760c84ec03152
src/main/java/com/whyc/swagger/SwaggerConfig4Knife.java
@@ -22,7 +22,7 @@
    public Docket api() {
        return new Docket(DocumentationType.SWAGGER_2)
                .apiInfo(apiInfo())
                .groupName("实验室仿真系统")
                .groupName("视频监控系统")
                .select()
                .apis(RequestHandlerSelectors.any())
                .apis(RequestHandlerSelectors.basePackage("com.whyc.controller"))
@@ -31,9 +31,9 @@
    private ApiInfo apiInfo() {
        return new ApiInfoBuilder()
                .title("实验室仿真系统")               //大标题 title
                .title("视频监控系统")               //大标题 title
                .contact(new Contact("PerryHsu","todo","todo"))
                .description("实验室仿真系统")             //小标题
                .description("视频监控系统")             //小标题
                .version("1.0")                           //版本
//                .termsOfServiceUrl("http://xxx.xxx.com")    //终端服务程序
//                .license("LICENSE")                         //链接显示文字