From 769e298e0a1e4bd2e989f5014de9d410f3a7dcac Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 05 七月 2021 09:31:49 +0800 Subject: [PATCH] !66 修复 按钮loading卡死的问题 Merge pull request !66 from Nguyendream/N/A --- ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java index c20973a..5273a69 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/feign/FeignTestService.java @@ -1,5 +1,6 @@ package com.ruoyi.demo.feign; +import com.ruoyi.demo.feign.constant.FeignTestConstant; import com.ruoyi.demo.feign.fallback.FeignTestFallback; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; @@ -7,10 +8,15 @@ /** * feign娴嬭瘯service - * + * 瑙勮寖鎺ュ彛 Service 鏃犳劅璋冪敤 + * 甯搁噺绠$悊璇锋眰璺緞 鏇村姞瑙勮寖 + * 鑷畾涔夊閿欏鐞� 瀹夊叏鍙潬 * @author Lion Li */ -@FeignClient(name = "baidu",url = "http://www.baidu.com",fallback = FeignTestFallback.class) +@FeignClient( + name = FeignTestConstant.BAIDU_NAME, + url = FeignTestConstant.BAIDU_URL, + fallback = FeignTestFallback.class) public interface FeignTestService { @GetMapping("/s") -- Gitblit v1.9.3