package com.crm.ucard.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.entity.websocket.WebsocketPushMessageByCustomIdEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "NEWS-SERVICE", path = "/push/message/ucard")
public interface PushMessageFeignService {
    @PostMapping("/custom/id/notice")
    BaseResultDto pushMessageUcardCustomIdNotice(WebsocketPushMessageByCustomIdEntity entity) throws Exception;


}
