|
@@ -3,3 +3,17 @@ eureka.client.service-url.defaultZone=http://discovery.rankin.com:8821/eureka/
|
|
|
service.product.name=product-service
|
|
|
service.resource.name=resource-service
|
|
|
service.user.name=user-service
|
|
|
+
|
|
|
+#出现错误时, 直接抛出异常
|
|
|
+spring.mvc.throw-exception-if-no-handler-found=true
|
|
|
+#不要为我们工程中的资源文件建立映射
|
|
|
+spring.resources.add-mappings=false
|
|
|
+
|
|
|
+# cms 管理端 会话管理 信息
|
|
|
+jwt.header= X-Token
|
|
|
+jwt.cookie= X-Cookie
|
|
|
+jwt.secret= tomas
|
|
|
+jwt.expiration= 3600
|
|
|
+
|
|
|
+# 执行异步任务的 线程池大小
|
|
|
+cms.threadPoolAsyncTaskExecutor.thread.size=16
|