修改代码格式

This commit is contained in:
bunny 2024-01-05 22:37:26 +08:00
parent 13bd3dc21e
commit 30cd5c234e
2 changed files with 3 additions and 4 deletions

View File

@ -57,13 +57,12 @@ public class WebMvcConfiguration extends WebMvcConfigurationSupport {
.version("2.0")
.description("苍穹外卖项目接口文档")
.build();
Docket docket = new Docket(DocumentationType.SWAGGER_2)
return new Docket(DocumentationType.SWAGGER_2)
.apiInfo(apiInfo)
.select()
.apis(RequestHandlerSelectors.basePackage("com.sky.controller"))
.paths(PathSelectors.any())
.build();
return docket;
}
/**

View File

@ -44,8 +44,8 @@ public class EmployeeController {
/**
* 登录
*
* @param employeeLoginDTO
* @return
* @param employeeLoginDTO EmployeeLoginDTO
* @return Result<EmployeeLoginVO>
*/
@Operation(summary = "员工登录接口")
@PostMapping("/login")