From 87a3d72a339bb85b7b8095056cb7dddc73edfb11 Mon Sep 17 00:00:00 2001 From: Donghuang Date: Thu, 23 Jun 2022 22:39:35 +0800 Subject: [PATCH] prop config --- .../src/main/resources/application_prod.yml | 57 +++++++++++++------ 1 file changed, 40 insertions(+), 17 deletions(-) diff --git a/server/crm/src/main/resources/application_prod.yml b/server/crm/src/main/resources/application_prod.yml index 48fbb72..4a2a995 100644 --- a/server/crm/src/main/resources/application_prod.yml +++ b/server/crm/src/main/resources/application_prod.yml @@ -1,24 +1,47 @@ server: - port: 8100 + port: 8100 spring: - http: - multipart: - max-file-size: 1024MB - max-request-size: 1024MB + http: + multipart: + max-file-size: 1024MB + max-request-size: 1024MB + jackson: + default-property-inclusion: NON_NULL + time-zone: GMT+8 + serialization: + write-dates-as-timestamps: true + fail-on-empty-beans: false + servlet: + multipart: + max-file-size: 1024MB + max-request-size: 1024MB + +datasource: + database-name: ambition_crm + host: 127.0.0.1 + password: 696@2^~)oZ@^#*Q + port: 3306 + username: root database: - backup-dir: /data/program/mysql-backup/backup/ambition_crm - backup-shell: /data/program/mysql-backup/bin/mysql_restore.sh -datasource: - database-name: ambition_crm - host: 127.0.0.1 - password: 696@2^~)oZ@^#*Q - port: 43306 - username: root + backup-dir: /data/program/mysql-backup/backup/ambition_crm + restore-shell: /data/program/mysql-backup/bin/mysql-restore.sh + +file: + base-dir: /data/program/lemo-crm/files + base-path: http://116.62.189.211/f/ shiro: - session: - validation: - scheduler: - enabled: true + session: + timeout: 21600000 + validation: + scheduler: + enabled: true + filter-chain: > + /auth/login=anon + /=anon + /index.html=anon + /assets/**=anon + /f/**=anon + /**=user