打印服务
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: ${PRINT_DB_URL}
|
||||
username: ${PRINT_DB_USERNAME}
|
||||
password: ${PRINT_DB_PASSWORD}
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
print:
|
||||
pdf:
|
||||
max-pages: ${PRINT_PDF_MAX_PAGES:2000}
|
||||
max-request-bytes: ${PRINT_PDF_MAX_REQUEST_BYTES:2097152}
|
||||
max-output-bytes: ${PRINT_PDF_MAX_OUTPUT_BYTES:33554432}
|
||||
max-concurrent-generations: ${PRINT_PDF_MAX_CONCURRENT_GENERATIONS:4}
|
||||
acquire-timeout: ${PRINT_PDF_ACQUIRE_TIMEOUT:1s}
|
||||
template-code: INBOUND_MARK_V1
|
||||
supported-width-mm: 100
|
||||
supported-height-mm: 100
|
||||
font-resource: fonts/NotoSansSC-Bold.ttf
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
spring.datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: ${PRINT_DB_URL:jdbc:mysql://127.0.0.1:3306/baiyue_print?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true}
|
||||
username: ${PRINT_DB_USERNAME:root}
|
||||
password: ${PRINT_DB_PASSWORD:123456}
|
||||
print:
|
||||
pdf:
|
||||
max-pages: ${PRINT_PDF_MAX_PAGES:2000}
|
||||
max-request-bytes: ${PRINT_PDF_MAX_REQUEST_BYTES:2097152}
|
||||
max-output-bytes: ${PRINT_PDF_MAX_OUTPUT_BYTES:33554432}
|
||||
max-concurrent-generations: ${PRINT_PDF_MAX_CONCURRENT_GENERATIONS:4}
|
||||
acquire-timeout: ${PRINT_PDF_ACQUIRE_TIMEOUT:1s}
|
||||
template-code: INBOUND_MARK_V1
|
||||
supported-width-mm: 100
|
||||
supported-height-mm: 100
|
||||
font-resource: fonts/NotoSansSC-Bold.ttf
|
||||
|
||||
Reference in New Issue
Block a user