| | |
| | | package com.xiaopeng.api.factory.pushMessage; |
| | | |
| | | import com.xiaopeng.api.feignClient.pushMessage.SubscribeMessageClient; |
| | | import com.xiaopeng.api.vo.pushMessage.SendSubscribeMessageVo; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | |
| | | log.error("获取openid失败: {}", cause.getMessage()); |
| | | return R.fail("获取openid失败"); |
| | | } |
| | | |
| | | @Override |
| | | public R<?> sendSubscribeMessage(SendSubscribeMessageVo vo) { |
| | | log.error("发送订阅消息失败: {}", cause.getMessage()); |
| | | return R.fail("发送订阅消息失败"); |
| | | } |
| | | }; |
| | | } |
| | | } |