修改代码格式
This commit is contained in:
parent
13bd3dc21e
commit
30cd5c234e
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -44,8 +44,8 @@ public class EmployeeController {
|
||||||
/**
|
/**
|
||||||
* 登录
|
* 登录
|
||||||
*
|
*
|
||||||
* @param employeeLoginDTO
|
* @param employeeLoginDTO EmployeeLoginDTO
|
||||||
* @return
|
* @return Result<EmployeeLoginVO>
|
||||||
*/
|
*/
|
||||||
@Operation(summary = "员工登录接口")
|
@Operation(summary = "员工登录接口")
|
||||||
@PostMapping("/login")
|
@PostMapping("/login")
|
||||||
|
|
Loading…
Reference in New Issue