Browse Source

replace jasperserver.rest.api.contextRoot with jasperserver.rest.api.context-root

sunyj 8 năm trước cách đây
mục cha
commit
677aa4a312

+ 1 - 1
src/main/java/com/uas/report/JasperserverRestAPIProperties.java

@@ -34,7 +34,7 @@ public class JasperserverRestAPIProperties {
 	/**
 	 * 根路径
 	 */
-	@Value("${jasperserver.rest.api.contextRoot}")
+	@Value("${jasperserver.rest.api.context-root}")
 	private String contextRoot;
 
 	/**

+ 2 - 2
src/main/resources/application.yml

@@ -32,14 +32,14 @@ schedule:
 max-record-size:
  pc: 100000
  phone: 10000
- 
+
 jasperserver:
  rest:
   api:
    schema: http
    host: 192.168.253.60
    port: 8080
-   contextRoot: jasperserver
+   context-root: jasperserver
    rest: rest_v2
    resources: resources
    authorization: amFzcGVyYWRtaW46amFzcGVyYWRtaW4=