修改网关跳转问题

This commit is contained in:
lhc
2021-03-19 10:45:31 +08:00
parent f244297b93
commit ea628737c9
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
package com.hcframe.gateway;
//import com.hcframe.gateway_cas_stater.annotate.EnableGatewayCas;
import com.hcframe.gateway_cas_stater.annotate.EnableGatewayCas;
import com.hcframe.redis.RedisUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Import;
@SpringBootApplication
@EnableDiscoveryClient
@Import(RedisUtil.class)
//@EnableGatewayCas
@EnableGatewayCas
public class GatewayApplication {
public static void main(String[] args) {

View File

@@ -36,9 +36,9 @@ hcframe:
logout-url: @cas.logout-url@
cas-service-url: @cas.cas-service-url@
client-context-path: @cas.client-context-path@
accept-any-proxy: true
proxyReceptorUrl: /proxyCallback
proxyCallbackUrl: http://192.168.1.130:8084/proxyCallback
# accept-any-proxy: true
# proxyReceptorUrl: /proxyCallback
# proxyCallbackUrl: http://192.168.1.130:8084/proxyCallback
config:
# 是否开启redis 用户登录若开启此项需要配置redis节点及相关配置若不开启需要注释掉redis相关配置信息
isRedisLogin: true