package com.crm.manager.service;

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

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


}
