mirror of https://gitee.com/maxjhandsome/pig
♻️ 重构代码。代码优化去除无用引用
This commit is contained in:
parent
85368019cb
commit
1871007c38
|
@ -48,7 +48,7 @@ public class SwaggerConfig {
|
|||
@Bean
|
||||
public Docket createRestApi() {
|
||||
ParameterBuilder tokenBuilder = new ParameterBuilder();
|
||||
List<Parameter> parameterList = new ArrayList<Parameter>();
|
||||
List<Parameter> parameterList = new ArrayList<>();
|
||||
tokenBuilder.name("Authorization")
|
||||
.defaultValue("去其他请求中获取heard中token参数")
|
||||
.description("令牌")
|
||||
|
|
Loading…
Reference in New Issue