package com.yuchen.saas.consumer.api.feign;

import com.yuchen.saas.consumer.api.dto.wechat.SendTemplateReqDTO;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhouhanwei
 * @create 2024/1/5 17:19
 */
@Component
public class WeChatOfficialTempClientFallback implements WeChatOfficialTempClient {

    @Override
    public R<Boolean> sendOfficialTempMessage(List<SendTemplateReqDTO> reqDTOList) {
        return R.fail("接口调用错误，进入熔断。");
    }
}
