
3 changed files with 29 additions and 1 deletions
@ -0,0 +1,16 @@ |
|||
package com.yxt.anrui.reportcenter.api.dailyreport; |
|||
|
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/9/25 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "anrui-reportcenter-DailyReport", |
|||
name = "anrui-reportcenter", |
|||
path = "v1/DailyReport", |
|||
fallback = DailyReportFeignFallback.class) |
|||
public interface DailyReportFeign { |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.yxt.anrui.reportcenter.api.dailyreport; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/9/25 |
|||
**/ |
|||
@Component |
|||
public class DailyReportFeignFallback { |
|||
} |
Loading…
Reference in new issue