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