4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#\u6570\u636E\u5E93
#local
#spring.datasource.url=jdbc:sqlserver://localhost:1433;DatabaseName=srm
#spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
#spring.datasource.username=sa
#spring.datasource.password=PLEEplee1234
 
#192.168.1.116
#spring.datasource.url=jdbc:sqlserver://192.168.1.116:1433;DatabaseName=srm
#spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
#spring.datasource.username=sa
#spring.datasource.password=PLEEplee1234
 
#192.168.1.150
spring.datasource.url=jdbc:sqlserver://192.168.1.150:1433;DatabaseName=srm
spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.username=sa
spring.datasource.password=PLEEplee1234
 
#Test
#spring.datasource.url=jdbc:sqlserver://192.168.1.239:1433;DatabaseName=srm_xinken
#spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
#spring.datasource.username=sa
#spring.datasource.password=SAsa123
 
spring.datasource.initialize=false
spring.datasource.initial-size=5
spring.datasource.min-idle=1
spring.datasource.max-idle=5
spring.datasource.max-active=10
spring.datasource.max-wait-millis=30000
spring.datasource.test-on-return=false
spring.datasource.test-on-borrow=true
spring.datasource.test-while-idle=true
spring.datasource.time-between-eviction-runs-millis=20000
spring.datasource.min-evictable-idle-time-millis=28700
spring.datasource.validation-query=SELECT 1
 
# JPA
spring.jpa.database=sql_server
#spring.jpa.properties.hibernate.dialect = com.unind.base.dbconnection.dialect.OracleDialect
#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.Oracle10gDialect
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.SQLServer2008Dialect
#spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.ddl-auto=none
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=false
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.hibernate.use-new-id-generator-mappings=true
 
#log
logging.level.com.withmes=info           
logging.path=D://spring
 
#ftp
#fs.ftp.url=192.168.1.150
#fs.ftp.port=21
#fs.ftp.username=administrator
#fs.ftp.password=plee!@#123
#fs.ftp.rootpath=
#fs.qms.path=/srm
 
#ftp
fs.ftp.url=192.168.1.239
fs.ftp.port=21
fs.ftp.username=ftpadmin
fs.ftp.password=plee!@#123
fs.ftp.rootpath=
fs.qms.path=/srm
 
##mail
#mail.smtp.auth=true
#mail.transport.protocol=smtp
#mail.send.charset=UTF-8
#mail.smtp.port=25
#mail.is.ssl=true
#mail.host=smtp.126.com
#mail.auth.name=yuanxiu.f@plee.com.cn
#mail.auth.password=fuyuanxiu1988
#mail.smtp.timeout=50000
#
#spring.mail.default-encoding=UTF-8
#spring.mail.host=smtp.exmail.qq.com
##\u53D1\u9001\u8005\u7684\u90AE\u7BB1\u5BC6\u7801
#spring.mail.password=FYXfyx2018
##\u7AEF\u53E3
#spring.mail.port=25
##\u534F\u8BAE
#spring.mail.protocol=smtp
##\u53D1\u9001\u8005\u7684\u90AE\u7BB1\u8D26\u53F7
#spring.mail.username=yuanxiu.f@plee.com.cn
 
#mail
#scm.mail.enabled=false
#mail.smtp.auth=false
#mail.transport.protocol=smtp
#mail.send.charset=UTF-8
#mail.smtp.port=25
#mail.host=
#mail.auth.name=
#mail.auth.password=
#mail.smtp.timeout=50000
 
#\u7AEF\u53E3\u53F7
server.port = 9999
 
#\u6587\u4EF6\u4E0A\u4F20 KB|MB
spring.servlet.multipart.max-file-size=1024Mb
spring.servlet.multipart.max-request-size=200MB