提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.framework.apilog.config; |
H |
2 |
|
|
3 |
import com.iailab.module.infra.api.logger.ApiAccessLogApi; |
|
4 |
import com.iailab.module.infra.api.logger.ApiErrorLogApi; |
|
5 |
import org.springframework.boot.autoconfigure.AutoConfiguration; |
|
6 |
import org.springframework.cloud.openfeign.EnableFeignClients; |
|
7 |
import org.springframework.context.annotation.Configuration; |
|
8 |
|
|
9 |
/** |
|
10 |
* API 日志使用到 Feign 的配置项 |
|
11 |
* |
|
12 |
* @author iailab |
|
13 |
*/ |
|
14 |
@AutoConfiguration |
|
15 |
@EnableFeignClients(clients = {ApiAccessLogApi.class, // 主要是引入相关的 API 服务 |
|
16 |
ApiErrorLogApi.class}) |
|
17 |
public class IailabApiLogRpcAutoConfiguration { |
|
18 |
} |