You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
628 B
31 lines
628 B
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.feign.fallback;
|
|
|
|
import com.epmet.commons.tools.security.bo.ResourceBO;
|
|
import com.epmet.feign.ResourceFeignClient;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 资源 Fallback
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
* @since 1.0.0
|
|
*/
|
|
@Component
|
|
public class ResourceFeignClientFallback implements ResourceFeignClient {
|
|
|
|
@Override
|
|
public List<ResourceBO> list() {
|
|
return new ArrayList<>();
|
|
}
|
|
}
|
|
|