application.properties
4.25 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
##SpringBoot\u670D\u52A1
server.port=8088
spring.servlet.multipart.max-file-size=20MB
spring.servlet.multipart.max-request-size=100MB
# \u8BBE\u7F6ETomcat\u7684\u8FDE\u63A5\u8D85\u65F6
server.tomcat.connection-timeout=60000
spring.profiles.active=dev
spring.application.name=order-api
spring.jackson.serialization.fail-on-empty-beans=false
#Redis\u914D\u7F6E
spring.redis.database=10
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=
spring.redis.timeout=60000
spring.redis.lettuce.pool.max-active=50
spring.redis.lettuce.pool.max-wait=5000ms
spring.redis.lettuce.pool.max-idle=50
spring.redis.lettuce.pool.min-idle=10
enterprise.redis.host=localhost
enterprise.redis.password=
enterprise.redis.database=6
##OkHttp\u914D\u7F6E
okhttp.connect-timeout=60
okhttp.read-timeout=60
okhttp.write-timeout=60
okhttp.max-idle-connections=10
okhttp.keep-alive-duration=300
##GRPC\u914D\u7F6E
grpc.order-service.url=47.101.193.136
grpc.order-service.port=4065
grpc.menu-service.url=47.101.193.136
grpc.menu-service.port=3017
grpc.sku-service.url=47.101.193.136
grpc.sku-service.port=3027
grpc.category-service.url=47.101.193.136
grpc.category-service.port=3027
grpc.client-customer-service.url=47.101.193.136
grpc.client-customer-service.port=3031
grpc.client-inventory-service.url=47.101.193.136
grpc.client-inventory-service.port=3037
grpc.meal-service.url=47.101.193.136
grpc.meal-service.port=3017
grpc.delivery-service.url=47.101.193.136
grpc.delivery-service.port=3017
grpc.operator-service.url=115.190.92.112
grpc.operator-service.port=3031
grpc.woperator-service.url=47.101.193.136
grpc.woperator-service.port=3028
grpc.enterprise-resource-service.url=47.101.193.136
grpc.enterprise-resource-service.port=3026
grpc.client-resource-service.url=47.101.193.136
grpc.client-resource-service.port=3019
grpc.meizhongyihe-service.url=47.101.193.136
grpc.meizhongyihe-service.port=3040
miniprogram.appId=wx40ec496d73b58ec6
miniprogram.appSecret=5b309517bf918abf760b2195e91b99f3
business-config.hisCustomerQueryUrl = http://localhost:8903/hiscustomers/current/query
business-config.clientCustomerQueryUrl = http://localhost:8903/clientcustomers/current/query
business-config.payUrl = http://36.110.128.86:21051/API/Microapp/CreateOrder?appid={0}
business-config.payClientId = Order00001
business-config.cancelPayUrl = http://10.2.5.162:21051/frame/requestbase64
business-config.refundSecurityKey = 0987654321
##Actuator\u914D\u7F6E
management.server.port=8088
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
##sa-token\u914D\u7F6E
sa-token.token-name=Authorization
sa-token.timeout=604800
sa-token.active-timeout=-1
sa-token.is-concurrent=true
sa-token.is-share=false
sa-token.is-log=true
sa-token.is-read-cookie=false
sa-token.is-read-body=false
sa-token.log-level=info
sa-token.jwt-secret-key=Uz2BgKsquB3VZ99tvGb6HzQ1RcFMEsa5
sa-token.sign.secret-key=4Jk2giMQw8D7lHJcU8fv8CXjSOhjp5Ee
##\u65E5\u5FD7\u914D\u7F6E
logging.config=classpath:logback-spring.xml
aliyun.oss.endPoint=oss-cn-shanghai.aliyuncs.com
aliyun.oss.host=infoloop-public-qa.oss-cn-shanghai.aliyuncs.com
aliyun.oss.accessKeyId=LTAIo9gcY5sjIZdN
aliyun.oss.accessKeySecret=gOOkVY4Euj3MSbPyg1tZvPbZbUssj5
aliyun.oss.bucket=infoloop-public-qa
##\u77ED\u4FE1\u914D\u7F6E
sms-config.accessKeyId=
sms-config.accessKeySecret=
sms-config.regionId=cn-shanghai
sms-config.product=Dysmsapi
sms-config.endpoint=dysmsapi.aliyuncs.com
sms-config.signName=\u7075\u829D\u4E91
#swagger\u914D\u7F6E
knife4j.enable=false
knife4j.production=true
knife4j.basic.enable=true
knife4j.basic.username=admin
knife4j.basic.password=infoloop123456
knife4j.setting.enable-swagger-models=true
knife4j.setting.enable-reload-cache-parameter=true
knife4j.setting.enable-version=true
# 缓存配置
cache.enabled=true
cache.default-ttl=300
# Caffeine本地缓存配置
cache.caffeine.initial-capacity=100
cache.caffeine.maximum-size=10000
cache.caffeine.expire-after-write=60
cache.caffeine.expire-after-access=0
cache.caffeine.record-stats=true
# Redis缓存配置
cache.redis.enabled=true
cache.redis.host=${spring.redis.host}
cache.redis.port=${spring.redis.port}
cache.redis.password=${spring.redis.password}
cache.redis.database=11
cache.redis.timeout=2000
# 缓存监控配置
cache.metrics.enabled=true
cache.metrics.step=1m