Commit 8fc03644 by flying-cattle

自动获取port

parent 84892b63
......@@ -28,7 +28,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableSwagger2
public class SwaggerConfig {
@Value("${server.port}")
@Value("${r'${server.port}'}")
private static String port;
public static String CONTROLLER_URL="${controllerUrl}"; //Swagger扫描的接口路径
......
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