Commit bbd508e5 authored by luzhuang's avatar luzhuang

fallback添加@Component注解

parent 90560f4d
......@@ -4,10 +4,12 @@ import lombok.extern.slf4j.Slf4j;
import org.rcisoft.common.util.feignClient.MicroappFeignClient;
import org.rcisoft.common.util.feignDto.HaveJurisdictionReqDTO;
import org.rcisoft.core.result.Ret;
import org.springframework.stereotype.Component;
import java.util.List;
@Slf4j
@Component
public class MicroappFeignClientFallBack implements MicroappFeignClient {
@Override
public Ret isHaveApps(Long UserId, Long corpId, Long appId, String zxClientType, Long zxAccountId) {
......
......@@ -4,8 +4,10 @@ import lombok.extern.slf4j.Slf4j;
import org.rcisoft.common.util.feignClient.NotificationFeignClient;
import org.rcisoft.common.util.feignDto.MTNotificationSendReqDTO;
import org.rcisoft.core.result.NotiRet;
import org.springframework.stereotype.Component;
@Slf4j
@Component
public class NotificationFeignClientFallBack implements NotificationFeignClient {
@Override
public NotiRet sendMessage(MTNotificationSendReqDTO mtNotificationSendReqDTO, String zxClientType, Long zxAccountId) {
......
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