Initial commit

This commit is contained in:
2025-09-22 11:51:16 +08:00
commit c32381f8ed
1191 changed files with 130140 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
javafx:
title: ERP系统
appicons: /icon/icon.png
stage:
width: 1280
height: 800
# style: DECORATED # javafx.stage.StageStyle [DECORATED, UNDECORATED, TRANSPARENT, UTILITY, UNIFIED]
# resizable: false
spring:
datasource:
url: jdbc:sqlite:./data/erp-cache.db?journal_mode=WAL&synchronous=NORMAL&cache_size=10000&temp_store=memory&busy_timeout=30000
driver-class-name: org.sqlite.JDBC
username:
password:
hikari:
maximum-pool-size: 1
connection-timeout: 60000
idle-timeout: 300000
max-lifetime: 900000
auto-commit: false
jpa:
database-platform: org.hibernate.community.dialect.SQLiteDialect
hibernate:
ddl-auto: update
show-sql: false
properties:
hibernate:
format_sql: true
jdbc:
batch_size: 20
order_inserts: true
order_updates: true
connection:
provider_disables_autocommit: true
open-in-view: false
web:
resources:
static-locations: classpath:/static/
server:
port: 8081
address: 127.0.0.1
# 外部API服务配置
api:
server:
# 主服务器API配置
# base-url: "http://8.138.23.49:8080"
base-url: "http://192.168.1.89:8080"
paths:
monitor: "/monitor/client/api"
login: "/monitor/account/login"
heartbeat: "/monitor/client/api/heartbeat"
error: "/monitor/client/api/error"
data: "/monitor/client/api/data"
alibaba1688: "/monitor/client/api/alibaba1688"
version: "/system/version/check"
getGenmaijlToken: "/getToken"
updateGenmaijlToken: "/saveToken"
# 项目信息配置
project:
version: @project.version@
build:
time: @maven.build.timestamp@
logging:
level:
com.tashow.erp: INFO
org.hibernate.SQL: WARN
org.hibernate.type.descriptor.sql.BasicBinder: WARN