修改代码格式

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") .version("2.0")
.description("苍穹外卖项目接口文档") .description("苍穹外卖项目接口文档")
.build(); .build();
Docket docket = new Docket(DocumentationType.SWAGGER_2) return new Docket(DocumentationType.SWAGGER_2)
.apiInfo(apiInfo) .apiInfo(apiInfo)
.select() .select()
.apis(RequestHandlerSelectors.basePackage("com.sky.controller")) .apis(RequestHandlerSelectors.basePackage("com.sky.controller"))
.paths(PathSelectors.any()) .paths(PathSelectors.any())
.build(); .build();
return docket;
} }
/** /**

View File

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