Commit 946dfa76 by fsn

完善注释

parent 7e4d63a2
...@@ -23,6 +23,9 @@ public class GunsApplication extends WebMvcConfigurerAdapter{ ...@@ -23,6 +23,9 @@ public class GunsApplication extends WebMvcConfigurerAdapter{
@Autowired @Autowired
GunsProperties gunsProperties; GunsProperties gunsProperties;
/**
* 增加swagger的支持
*/
@Override @Override
public void addResourceHandlers(ResourceHandlerRegistry registry) { public void addResourceHandlers(ResourceHandlerRegistry registry) {
if(gunsProperties.getSwaggerOpen()){ if(gunsProperties.getSwaggerOpen()){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment