Commit fbb4050968c99bde1bc50965a6e0dc76e85de5bf
1 parent
6db87c18
开发环境增加graphql
Showing
1 changed file
with
7 additions
and
0 deletions
class-service.yml
| ... | ... | @@ -110,6 +110,12 @@ hystrix: |
| 110 | 110 | isolation: |
| 111 | 111 | thread: |
| 112 | 112 | timeoutInMilliseconds: 60000 |
| 113 | + | |
| 114 | +graphql: | |
| 115 | + servlet: | |
| 116 | + mapping: /graphql | |
| 117 | + enabled: true | |
| 118 | + corsEnabled: true | |
| 113 | 119 | |
| 114 | 120 | #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) |
| 115 | 121 | #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) |
| ... | ... | @@ -375,4 +381,4 @@ apiConfig: |
| 375 | 381 | sendCloud: |
| 376 | 382 | user: postmaster@kkb.sendcloud.org |
| 377 | 383 | key: ENC(ad810a86e7a4c5910c4e6a72789cf775e59ecaaf2ed5eb3a4b4101fcf299419a) |
| 378 | 384 | - from: postmaster@kkb.sendcloud.org |
| 385 | + from: postmaster@kkb.sendcloud.org | |
| 379 | 386 | \ No newline at end of file | ... | ... |