根据已更新的原型调整系统
This commit is contained in:
1 parent
c3cdb9e2d6
commit
65de682b7a
69 files changed
+1357
-345
No files matched your search
@@ -0,0 +1,126 @@
|
||||
# Copy this file to ./config/application.yml and replace every CHANGE_ME value.
|
||||
# The private application.yml is loaded automatically and must never be committed.
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
url: "jdbc:mysql://127.0.0.1:3306/finance_system?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=UTC"
|
||||
username: "CHANGE_ME_DATABASE_USER"
|
||||
password: "CHANGE_ME_DATABASE_PASSWORD"
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
show-sql: false
|
||||
open-in-view: false
|
||||
|
||||
database:
|
||||
time-zone: "UTC"
|
||||
|
||||
jwt:
|
||||
secret: "CHANGE_ME_RANDOM_SECRET_AT_LEAST_32_UTF8_BYTES"
|
||||
expiration: 86400000
|
||||
|
||||
auth:
|
||||
time-zone: "Asia/Shanghai"
|
||||
|
||||
file:
|
||||
storage:
|
||||
provider: "local"
|
||||
local:
|
||||
base-path: "./uploads"
|
||||
aliyun-oss:
|
||||
region: ""
|
||||
endpoint: ""
|
||||
bucket: ""
|
||||
access-key-id: ""
|
||||
access-key-secret: ""
|
||||
session-token: ""
|
||||
cleanup:
|
||||
interval-ms: 30000
|
||||
stale-upload-minutes: 60
|
||||
|
||||
feishu:
|
||||
enabled: false
|
||||
app-id: ""
|
||||
app-secret: ""
|
||||
redirect-uri: "https://CHANGE_ME_PUBLIC_HOST/api/feishu/callback"
|
||||
sync-org-enabled: false
|
||||
local-bootstrap-enabled: false
|
||||
local-bootstrap-open-id: ""
|
||||
directory:
|
||||
bootstrap-sync-on-startup: false
|
||||
credential-revision: "1"
|
||||
max-elapsed-seconds: 120
|
||||
department-id-type: "open_department_id"
|
||||
directory-concurrency: 4
|
||||
max-retries: 3
|
||||
requests-per-second: 45
|
||||
requests-per-minute: 900
|
||||
approval:
|
||||
approval-code: ""
|
||||
verification-token: ""
|
||||
encrypt-key: ""
|
||||
|
||||
app:
|
||||
frontend-url: "https://CHANGE_ME_PUBLIC_HOST"
|
||||
frontend-allowed-origins: "https://CHANGE_ME_PUBLIC_HOST"
|
||||
integration-encryption-key: "CHANGE_ME_RANDOM_SECRET_AT_LEAST_32_UTF8_BYTES"
|
||||
bank-account:
|
||||
encryption-keys: "v1=CHANGE_ME_BASE64_ENCODED_32_BYTE_AES_KEY"
|
||||
fingerprint-key: "CHANGE_ME_BASE64_ENCODED_32_BYTE_HMAC_KEY"
|
||||
active-key-version: "v1"
|
||||
legacy-backfill-enabled: false
|
||||
|
||||
finance:
|
||||
payment:
|
||||
# 付款前财务核对门禁;付款后的银行回单缺失会单独进入待补回单状态。
|
||||
require-receipt-before-registration: false
|
||||
require-independent-review: false
|
||||
|
||||
kingdee:
|
||||
enabled: false
|
||||
base-url: ""
|
||||
allowed-hosts: "app.kingdee.com"
|
||||
client-id: ""
|
||||
client-secret: ""
|
||||
db-id: ""
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.finance.system: "INFO"
|
||||
com.finance.system.adapter.feishu.FeishuDirectoryService: "INFO"
|
||||
org.springframework.security: "INFO"
|
||||
org.hibernate.SQL: "WARN"
|
||||
|
||||
springdoc:
|
||||
api-docs:
|
||||
path: "/v3/api-docs"
|
||||
enabled: false
|
||||
swagger-ui:
|
||||
path: "/swagger-ui.html"
|
||||
enabled: false
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "health,prometheus"
|
||||
endpoint:
|
||||
health:
|
||||
show-details: "never"
|
||||
|
||||
observability:
|
||||
tenant-id: "CHANGE_ME_TENANT_ID"
|
||||
organization-id: 1
|
||||
audit:
|
||||
max-attempts: 10
|
||||
integrity:
|
||||
current-key-id: "v1"
|
||||
current-key: "CHANGE_ME_RANDOM_SECRET_AT_LEAST_32_UTF8_BYTES"
|
||||
# Key rotation: keep retired keys here only while their audit records still exist.
|
||||
historical-keys: {}
|
||||
verification-enabled: true
|
||||
verification-delay-ms: 300000
|
||||
verification-initial-delay-ms: 60000
|
||||
verification-batch-size: 200
|
||||