Commit f96901cf authored by 赵啸非's avatar 赵啸非

修改鉴权

parent 8f4b54f4
......@@ -8,7 +8,6 @@ import com.mortals.xhx.feign.IFeign;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;
......
......@@ -43,7 +43,7 @@ public class SyncUserTaskImpl implements ITaskExcuteService {
userPdu.setSize(-1);
Rest<RespData<List<UserPdu>>> list = userFeign.list(userPdu);
log.debug("syncUserResp:{}", JSON.toJSONString(list));
log.info("syncUserResp:{}", JSON.toJSONString(list));
// return;
// UserPdu userPdu = new UserPdu();
......
......@@ -35,6 +35,9 @@ spring:
max-active: 100
max-wait: 1000
cloud:
loadbalancer:
ribbon:
enabled: false
nacos:
# Nacos 作为注册中心的配置项,对应 NacosDiscoveryProperties 配置类
discovery:
......@@ -75,7 +78,8 @@ upload:
path: @profiles.filepath@
feign:
hystrix:
enabled: true
enabled: false
queue:
type: @profiles.queue.type@ # memory or kafka (Apache Kafka) or rabbitmq (RabbitMQ)
core:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment